File tree Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -4299,6 +4299,11 @@ $as_echo "no" >&6; }
4299
4299
fi
4300
4300
rm -f core conftest.err conftest.$ac_objext \
4301
4301
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
4302
4307
fi
4303
4308
4304
4309
Original file line number Diff line number Diff line change @@ -187,6 +187,11 @@ if test "`(uname) 2>/dev/null`" = Darwin; then
187
187
MACSDK=""
188
188
CFLAGS="$save_cflags"
189
189
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
190
195
fi
191
196
192
197
You can’t perform that action at this time.
0 commit comments