lua: Using our LDFLAGS
This is needed for Xcode-only installations, since the LDFLAGS matter. Closes Homebrew/homebrew#12856. Signed-off-by: Misty De Meo <mistydemeo@gmail.com>master
parent
8e21b4f84f
commit
45bb14af8b
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue