Fixing initialization of environment variable MACOSX_DEPLOYMENT_TARGET
This commit is contained in:
parent
446176db14
commit
0cd1ffc04d
1 changed files with 1 additions and 1 deletions
|
@ -249,7 +249,7 @@ Darwin)
|
|||
|
||||
# Make sure that binaries use the best features of the used OS-Version
|
||||
# We need to get rid of the revision number from this string. eg turn "10.7.5" into "10.7"
|
||||
v=( ${MACOSX_DEPLOYMENT_TARGET//./ } )
|
||||
v=(`sw_vers -productVersion | sed 's/\./ /g'`)
|
||||
export MACOSX_DEPLOYMENT_TARGET="${v[0]}.${v[1]}"
|
||||
|
||||
if [ "$compilerInstall" == "System" ]
|
||||
|
|
Reference in a new issue