aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorsamueljohn2012-06-15 12:39:40 +0200
committerJack Nagel2012-06-16 10:58:07 -0500
commit53d0a784ee5cb69247001dcffd77873ef908b6ec (patch)
tree44944273c6cca55081c0aa373ba9068303754dd5 /Library
parent1c029c8b49c823f06167c90aa3af7e3e890fea77 (diff)
downloadhomebrew-53d0a784ee5cb69247001dcffd77873ef908b6ec.tar.bz2
sip: fix for Xcode-only install
- Pass in CFLAGS and LDFLAGS. Note, LDFLAGS have to be passed into configure.py as "LFLAGS". Closes #12884. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/sip.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/Library/Formula/sip.rb b/Library/Formula/sip.rb
index 4139fe2f1..7dff890fe 100644
--- a/Library/Formula/sip.rb
+++ b/Library/Formula/sip.rb
@@ -34,7 +34,9 @@ class Sip < Formula
system "python", "configure.py",
"--destdir=#{lib}/#{which_python}/site-packages",
"--bindir=#{bin}",
- "--incdir=#{include}"
+ "--incdir=#{include}",
+ "CFLAGS=#{ENV.cflags}",
+ "LFLAGS=#{ENV.ldflags}"
system "make install"
end