]> git.ipfire.org Git - thirdparty/ldns.git/commitdiff
Fix cross compilation under OS X 69/head
authorRosen Penev <rosenp@gmail.com>
Fri, 21 Feb 2020 03:33:02 +0000 (19:33 -0800)
committerGitHub <noreply@github.com>
Fri, 21 Feb 2020 03:33:02 +0000 (19:33 -0800)
configure.ac

index accdd578c047e8fad102292d0d3bd6c776a9b7f1..17b8a2150a592f251b79c922bb14eb9f68ec1e55 100644 (file)
@@ -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 )"