diff options
| author | Daniel Holtmann-Rice | 2011-06-09 15:52:21 -0400 |
|---|---|---|
| committer | Adam Vandenberg | 2011-06-21 06:27:15 -0700 |
| commit | 58039d543695b0c78d76b6643bde6b8a3afcf902 (patch) | |
| tree | 99c32ad151dd5b86f107b774aacb81ef1e079d2c /Library | |
| parent | 66f24dcc6551bde9382ea4ca198be40f9bcbca0a (diff) | |
| download | homebrew-58039d543695b0c78d76b6643bde6b8a3afcf902.tar.bz2 | |
premake: fix Lion build
Uses an inreplace to remove "-lstdc++-static" from the makefile used for
building on Mac OS X, allowing builds to succeed on Lion. Necessary because Lion
doesn't include the stdc++-static library.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/premake.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Library/Formula/premake.rb b/Library/Formula/premake.rb index 73dd73e5b..230fc677f 100644 --- a/Library/Formula/premake.rb +++ b/Library/Formula/premake.rb @@ -6,6 +6,8 @@ class Premake < Formula homepage 'http://industriousone.com/premake' def install + # Linking against stdc++-static causes a library not found error on 10.7 + inreplace 'build/gmake.macosx/Premake4.make', '-lstdc++-static ', '' system "make -C build/gmake.macosx" # Premake has no install target, but its just a single file that is needed |
