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.

13 lines
560 B

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