diff options
| author | samueljohn | 2012-06-15 12:39:40 +0200 |
|---|---|---|
| committer | Jack Nagel | 2012-06-16 10:58:07 -0500 |
| commit | 53d0a784ee5cb69247001dcffd77873ef908b6ec (patch) | |
| tree | 44944273c6cca55081c0aa373ba9068303754dd5 /Library | |
| parent | 1c029c8b49c823f06167c90aa3af7e3e890fea77 (diff) | |
| download | homebrew-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.rb | 4 |
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 |
