aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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