-
-
Notifications
You must be signed in to change notification settings - Fork 12.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #172902 from branchvincent/libprelude
libprelude: fix build with latest CLT
- Loading branch information
Showing
1 changed file
with
4 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,7 +23,6 @@ class Libprelude < Formula | |
end | ||
|
||
depends_on "pkg-config" => :build | ||
depends_on "python-setuptools" => :build | ||
depends_on "[email protected]" => [:build, :test] | ||
depends_on "gnutls" | ||
depends_on "libgpg-error" | ||
|
@@ -41,6 +40,9 @@ def python3 | |
end | ||
|
||
def install | ||
# Work-around for build issue with Xcode 15.3 | ||
ENV.append_to_cflags "-Wno-int-conversion" if DevelopmentTools.clang_build_version >= 1500 | ||
|
||
ENV["HAVE_CXX"] = "yes" | ||
args = %W[ | ||
--disable-silent-rules | ||
|
@@ -61,7 +63,7 @@ def install | |
# Work around Homebrew's "prefix scheme" patch which causes non-pip installs | ||
# to incorrectly try to write into HOMEBREW_PREFIX/lib since Python 3.10. | ||
# This is done by manually install python bindings. | ||
system python3, "-m", "pip", "install", *std_pip_args, "./bindings/python" | ||
system python3, "-m", "pip", "install", *std_pip_args(build_isolation: true), "./bindings/python" | ||
end | ||
|
||
test do | ||
|