libxml2: Python bindings find libiconv on NCLT.
Closes Homebrew/homebrew#13511. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
This commit is contained in:
parent
0917374454
commit
bea2ef86c7
1 changed files with 5 additions and 0 deletions
|
@ -37,6 +37,11 @@ class Libxml2 < Formula
|
|||
ENV.append 'CFLAGS', arch_flags
|
||||
ENV.append 'LDFLAGS', arch_flags
|
||||
|
||||
unless MacOS::CLT.installed?
|
||||
# We can hijack /opt/include to insert SDKROOT/usr/include
|
||||
inreplace 'setup.py', '"/opt/include",', "'#{MacOS.sdk_path}/usr/include',"
|
||||
end
|
||||
|
||||
system "python", "setup.py",
|
||||
"install_lib",
|
||||
"--install-dir=#{python_lib}"
|
||||
|
|
Loading…
Reference in a new issue