aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorsamueljohn2012-06-15 11:43:50 +0200
committerMisty De Meo2012-06-15 09:31:25 -0500
commit888ae4e2078a96f364dd5cfe3a45087877921993 (patch)
tree013d96105115080fee24d3bae111d4a369c20c69 /Library/Formula
parent8a419624e296e02f9ba563a7cf254e21ed10c4ed (diff)
downloadhomebrew-888ae4e2078a96f364dd5cfe3a45087877921993.tar.bz2
lua: Using our LDFLAGS
This is needed for Xcode-only installations, since the LDFLAGS matter. Closes #12856. Signed-off-by: Misty De Meo <mistydemeo@gmail.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/lua.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/Library/Formula/lua.rb b/Library/Formula/lua.rb
index ac4c7fdb0..0b389b5ec 100644
--- a/Library/Formula/lua.rb
+++ b/Library/Formula/lua.rb
@@ -39,6 +39,7 @@ class Lua < Formula
inreplace 'src/Makefile' do |s|
s.remove_make_var! 'CC'
s.change_make_var! 'CFLAGS', "#{ENV.cflags} $(MYCFLAGS)"
+ s.change_make_var! 'MYLDFLAGS', ENV['LDFLAGS']
end
# Fix path in the config header