aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/lua.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula/lua.rb')
-rw-r--r--Library/Formula/lua.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Formula/lua.rb b/Library/Formula/lua.rb
index 0b389b5ec..35cd2ccd8 100644
--- a/Library/Formula/lua.rb
+++ b/Library/Formula/lua.rb
@@ -39,7 +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']
+ s.change_make_var! 'MYLDFLAGS', ENV.ldflags
end
# Fix path in the config header