You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

11 lines
504 B

  1. --- a/configure.ac
  2. +++ b/configure.ac
  3. @@ -881,7 +881,7 @@ AC_ARG_WITH(xcode-sdk, AC_HELP_STRING([--with-xcode-sdk],
  4. [],[with_xcode_sdk="yes"])
  5. if test "x_$with_xcode_sdk" != "x_no" ; then
  6. # check OSX deployment target, if needed
  7. - if echo $build_os | grep darwin > /dev/null; then
  8. + if echo $target_os | grep darwin > /dev/null; then
  9. sdk_p=`xcode-select -print-path`;
  10. if test "x_$with_xcode_sdk" = "x_yes" ; then
  11. sdk_v="$( /usr/bin/xcrun --show-sdk-version 2>/dev/null )"