Commit 55f9dac0 authored by Felix Paul Kühne's avatar Felix Paul Kühne

contrib/bootstrap: fixed check for iOS

parent e25946ed
...@@ -190,17 +190,15 @@ test -z "$ENABLE_SMALL" || add_make_enabled "ENABLE_SMALL" ...@@ -190,17 +190,15 @@ test -z "$ENABLE_SMALL" || add_make_enabled "ENABLE_SMALL"
# #
OS="${HOST#*-}" # strip architecture OS="${HOST#*-}" # strip architecture
case "${OS}" in case "${OS}" in
arm-apple-darwin*) apple-darwin*)
check_ios_sdk if test -z "$BUILDFORIOS"
add_make_enabled "HAVE_IOS" "HAVE_DARWIN_OS" "HAVE_BSD" then
;; check_macosx_sdk
*86*-apple-darwin*) add_make_enabled "HAVE_MACOSX" "HAVE_DARWIN_OS" "HAVE_BSD"
check_macosx_sdk else
add_make_enabled "HAVE_MACOSX" "HAVE_DARWIN_OS" "HAVE_BSD" check_ios_sdk
;; add_make_enabled "HAVE_IOS" "HAVE_DARWIN_OS" "HAVE_BSD"
powerpc-apple-darwin*) fi
check_macosx_sdk
add_make_enabled "HAVE_MACOSX" "HAVE_DARWIN_OS" "HAVE_BSD"
;; ;;
*bsd*) *bsd*)
add_make_enabled "HAVE_BSD" add_make_enabled "HAVE_BSD"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment