From ba93b891604eedc0cfead2f840c31df0738404d8 Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Thu, 20 Feb 2020 19:33:02 -0800 Subject: [PATCH] Fix cross compilation under OS X --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 )" -- 2.47.3