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:
samueljohn authored and Jack Nagel committed 2012-06-04 19:42:20 -05:00
1 parent 785f6f828e
commit f2e4be4e05
1 file changed
+3
+3
View File
@@ -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'