File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -4299,6 +4299,11 @@ $as_echo "no" >&6; }
42994299fi
43004300rm -f core conftest.err conftest.$ac_objext \
43014301 conftest$ac_exeext conftest.$ac_ext
4302+ else
4303+ if test -z " $MACOSX_DEPLOYMENT_TARGET " ; then
4304+ macosx_deployment_target=` /usr/bin/sw_vers -productVersion`
4305+ XCODEFLAGS=" $XCODEFLAGS MACOSX_DEPLOYMENT_TARGET=$macosx_deployment_target "
4306+ fi
43024307 fi
43034308
43044309
Original file line number Diff line number Diff line change @@ -187,6 +187,11 @@ if test "`(uname) 2>/dev/null`" = Darwin; then
187187 MACSDK=""
188188 CFLAGS="$save_cflags"
189189 LDFLAGS="$save_ldflags" ])
190+ else
191+ if test -z "$MACOSX_DEPLOYMENT_TARGET"; then
192+ macosx_deployment_target=`/usr/bin/sw_vers -productVersion`
193+ XCODEFLAGS="$XCODEFLAGS MACOSX_DEPLOYMENT_TARGET=$macosx_deployment_target"
194+ fi
190195 fi
191196
192197
You can’t perform that action at this time.
0 commit comments