diff options
| author | samueljohn | 2012-05-26 15:28:14 +0200 |
|---|---|---|
| committer | Jack Nagel | 2012-06-04 19:42:20 -0500 |
| commit | f2e4be4e05f833f80f2ae7ba409161ce463630de (patch) | |
| tree | 73efd0ae8afc4a103e99d84703ea5b30f47bfd8e | |
| parent | 785f6f828ea59436db69ee577047ccbf6b991b0b (diff) | |
| download | homebrew-f2e4be4e05f833f80f2ae7ba409161ce463630de.tar.bz2 | |
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>
| -rw-r--r-- | Library/Formula/yasm.rb | 3 |
1 files changed, 3 insertions, 0 deletions
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' |
