FIX: Crash on Mac OS X 10.5 if binary was compiled under Mac OS X 10.6 or higher

This commit is contained in:
Alexander Koblov 2012-04-21 13:48:20 +00:00
commit 0e803ce2d3

View file

@ -33,6 +33,9 @@ if [ -z $CPU_TARGET ]; then
export CPU_TARGET=$(fpc -iTP)
fi
# Set minimal Mac OS X target version
export MACOSX_DEPLOYMENT_TARGET=10.5
# Copy 7-Zip executable
cp -a darwin/lib/$CPU_TARGET/7za $BUILD_DC_TMP_DIR/