platypus: fix build problem on >10.4 machines

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
Robert Shaw 2010-05-12 11:41:35 -07:00 committed by Adam Vandenberg
parent af6972cdf3
commit a14e8c174f

View file

@ -20,11 +20,11 @@ class Platypus <Formula
end end
# Build binary # Build binary
system "xcodebuild", "-target", "platypus", "-configuration", "Deployment", "ONLY_ACTIVE_ARCH=YES" system "xcodebuild", "-target", "platypus", "-configuration", "Deployment", "ONLY_ACTIVE_ARCH=YES", "SDKROOT=", "MACOSX_DEPLOYMENT_TARGET="
end end
# Build application sub-binary needed by command-line utility # Build application sub-binary needed by command-line utility
Dir.chdir('Script_Exec') do Dir.chdir('Script_Exec') do
system "xcodebuild", "-target", "ScriptExec", "-configuration", "Release", "ONLY_ACTIVE_ARCH=YES" system "xcodebuild", "-target", "ScriptExec", "-configuration", "Release", "ONLY_ACTIVE_ARCH=YES", "SDKROOT=", "MACOSX_DEPLOYMENT_TARGET="
end end
# Install binary and man page # Install binary and man page