aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorGeoff Reedy2010-10-23 13:03:16 -0600
committerAdam Vandenberg2010-10-23 12:29:52 -0700
commitb20fd8cf650dd327ccf260f581016a29a72d7c92 (patch)
tree1a756b67f23cf740e64909983824b8532963da7c /Library/Formula
parent7019ad31feb45982eb91ce9a1c837d28eec20f9e (diff)
downloadhomebrew-b20fd8cf650dd327ccf260f581016a29a72d7c92.tar.bz2
Set LINKFLAGS env var
The waf build uses LINKFLAGS not LDFLAGS. Set LINKFLAGS the same as LDFLAGS so the build can find libraries from a non-/usr/local brew install Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/jack.rb7
1 files changed, 4 insertions, 3 deletions
diff --git a/Library/Formula/jack.rb b/Library/Formula/jack.rb
index b940fee69..6c5dabffa 100644
--- a/Library/Formula/jack.rb
+++ b/Library/Formula/jack.rb
@@ -14,8 +14,9 @@ class Jack <Formula
end
def install
- system "./waf configure --prefix=#{prefix}"
- system "./waf build"
- system "./waf install"
+ ENV['LINKFLAGS'] = ENV['LDFLAGS']
+ system "./waf","configure","--prefix=#{prefix}"
+ system "./waf","build"
+ system "./waf","install"
end
end