From f2e4be4e05f833f80f2ae7ba409161ce463630de Mon Sep 17 00:00:00 2001 From: samueljohn Date: Sat, 26 May 2012 15:28:14 +0200 Subject: 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 --- Library/Formula/yasm.rb | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Library/Formula') diff --git a/Library/Formula/yasm.rb b/Library/Formula/yasm.rb index 07b5da792..d28567160 100644 --- a/Library/Formula/yasm.rb +++ b/Library/Formula/yasm.rb @@ -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' -- cgit v1.2.3