aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/irrlicht.rb5
1 files changed, 4 insertions, 1 deletions
diff --git a/Library/Formula/irrlicht.rb b/Library/Formula/irrlicht.rb
index 02f3bcb63..c469afbdb 100644
--- a/Library/Formula/irrlicht.rb
+++ b/Library/Formula/irrlicht.rb
@@ -9,7 +9,10 @@ class Irrlicht < Formula
depends_on :xcode
def install
- system *%W(xcodebuild -project source/Irrlicht/MacOSX/MacOSX.xcodeproj -configuration Release -target libIrrlicht.a)
+ args = %W(-project source/Irrlicht/MacOSX/MacOSX.xcodeproj -configuration Release -target libIrrlicht.a)
+ args << 'SYMROOT=build'
+ args << '-sdk' << "macosx#{MacOS.version}"
+ system 'xcodebuild', *args
lib.install "source/Irrlicht/MacOSX/build/Release/libIrrlicht.a"
include.install "include" => "irrlicht"
end