Skip to content

Commit

Permalink
sip: fix for Xcode-only install
Browse files Browse the repository at this point in the history
- Pass in CFLAGS and LDFLAGS. Note, LDFLAGS have to be passed into
  configure.py as "LFLAGS".

Closes Homebrew#12884.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
  • Loading branch information
samueljohn authored and jacknagel committed Jun 16, 2012
1 parent 1c029c8 commit 53d0a78
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Library/Formula/sip.rb
Expand Up @@ -34,7 +34,9 @@ def install
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

Expand Down

0 comments on commit 53d0a78

Please sign in to comment.