Commit 08b513d6 authored by Daniel Brown's avatar Daniel Brown

Setting min build for OSX 10.7

parent 994eac86
......@@ -510,14 +510,18 @@ case $TARGET in
;;
$TARGET_MAC)
check_prerequisites || failure
OSXminor=`sw_vers -productVersion | cut -d'.' -f2`
OSXminor=7
#`sw_vers -productVersion | cut -d'.' -f2`
if [ -z "$OSXminor" ]; then
echo "Could not determine OSX version"
failure
fi
echo "Building for OSX version: 10.$OSXminor"
# probably should allow custom minor version for build-mac
export MACOSX_DEPLOYMENT_TARGET="10.$OSXminor"
if [ -d /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/ ]; then
echo "Preparing Mac OS X 10.12 SDK build environment..." | tee -a $LOGFILE
export OSX_SDK="/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment