From 53d0a784ee5cb69247001dcffd77873ef908b6ec Mon Sep 17 00:00:00 2001 From: samueljohn Date: Fri, 15 Jun 2012 12:39:40 +0200 Subject: 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 --- Library/Formula/sip.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Library') 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 -- cgit v1.2.3