From: Rosen Penev Date: Fri, 21 Feb 2020 03:33:02 +0000 (-0800) Subject: Fix cross compilation under OS X X-Git-Tag: 1.8.0-rc.1~68^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F69%2Fhead;p=thirdparty%2Fldns.git Fix cross compilation under OS X --- diff --git a/configure.ac b/configure.ac index accdd578..17b8a215 100644 --- a/configure.ac +++ b/configure.ac @@ -881,7 +881,7 @@ AC_ARG_WITH(xcode-sdk, AC_HELP_STRING([--with-xcode-sdk], [],[with_xcode_sdk="yes"]) if test "x_$with_xcode_sdk" != "x_no" ; then # check OSX deployment target, if needed - if echo $build_os | grep darwin > /dev/null; then + if echo $target_os | grep darwin > /dev/null; then sdk_p=`xcode-select -print-path`; if test "x_$with_xcode_sdk" = "x_yes" ; then sdk_v="$( /usr/bin/xcrun --show-sdk-version 2>/dev/null )"