aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Holtmann-Rice2011-06-09 15:52:21 -0400
committerAdam Vandenberg2011-06-21 06:27:15 -0700
commit58039d543695b0c78d76b6643bde6b8a3afcf902 (patch)
tree99c32ad151dd5b86f107b774aacb81ef1e079d2c
parent66f24dcc6551bde9382ea4ca198be40f9bcbca0a (diff)
downloadhomebrew-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>
-rw-r--r--Library/Formula/premake.rb2
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