mirror of
https://github.com/mistydemeo/tigerbrew.git
synced 2026-11-30 04:29:50 -05:00
yasm: Add LIBS,INCLUDES
To support Xcode without CLT installations we need to set LIBS and INCLUDES, because the default flags are not fully respected by their build scripts. Closes #12448. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
This commit is contained in:
1 parent
785f6f828e
commit
f2e4be4e05
1 file changed
+3
@@ -26,6 +26,9 @@ class Yasm < Formula
|
||||
args << '--enable-python-bindings'
|
||||
end
|
||||
|
||||
# Avoid "ld: library not found for -lcrt1.10.6.o" on Xcode without CLT
|
||||
ENV['LIBS'] = ENV.ldflags
|
||||
ENV['INCLUDES'] = ENV.cppflags
|
||||
system './autogen.sh' if ARGV.build_head?
|
||||
system './configure', *args
|
||||
system 'make install'
|
||||
|
||||
Reference in new issue
Block a user