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>
master
Geoff Reedy 2010-10-23 13:03:16 -06:00 committed by Adam Vandenberg
parent 0aa069c82a
commit 1d7fdcffce
1 changed files with 4 additions and 3 deletions

View File

@ -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