浏览代码

Merge branch 'ticket_274_xcode' into 'master'

configure: support SDK 10.13 in XCode

fixed #274

+1: Ryan Ollos

Merged-on: https://assembla.com/code/portaudio/git/merge_requests/6183813
mr/new/c0d239712d9afcd4b7ad58b6e1ba97a1d789d9eb
Phil Burk 1年前
父节点
当前提交
8a8078a9ba
共有 2 个文件被更改,包括 8 次插入2 次删除
  1. +4
    -1
      configure
  2. +4
    -1
      configure.in

+ 4
- 1
configure 查看文件

@@ -15863,8 +15863,11 @@ case "${host_os}" in
elif xcodebuild -version -sdk macosx10.12 Path >/dev/null 2>&1 ; then
mac_version_min="-mmacosx-version-min=10.4"
mac_sysroot="-isysroot `xcodebuild -version -sdk macosx10.12 Path`"
elif xcodebuild -version -sdk macosx10.13 Path >/dev/null 2>&1 ; then
mac_version_min="-mmacosx-version-min=10.4"
mac_sysroot="-isysroot `xcodebuild -version -sdk macosx10.13 Path`"
else
as_fn_error $? "Could not find 10.5 to 10.12 SDK." "$LINENO" 5
as_fn_error $? "Could not find 10.5 to 10.13 SDK." "$LINENO" 5
fi
esac


+ 4
- 1
configure.in 查看文件

@@ -258,8 +258,11 @@ case "${host_os}" in
elif xcodebuild -version -sdk macosx10.12 Path >/dev/null 2>&1 ; then
mac_version_min="-mmacosx-version-min=10.4"
mac_sysroot="-isysroot `xcodebuild -version -sdk macosx10.12 Path`"
elif xcodebuild -version -sdk macosx10.13 Path >/dev/null 2>&1 ; then
mac_version_min="-mmacosx-version-min=10.4"
mac_sysroot="-isysroot `xcodebuild -version -sdk macosx10.13 Path`"
else
AC_MSG_ERROR([Could not find 10.5 to 10.12 SDK.])
AC_MSG_ERROR([Could not find 10.5 to 10.13 SDK.])
fi
esac


正在加载...
取消
保存