Commit 72332b75 authored by Philippe Coent's avatar Philippe Coent Committed by Felix Paul Kühne

contrib: detect iOS correctly

Signed-off-by: default avatarFelix Paul Kühne <fkuehne@videolan.org>
parent 93669d4b
......@@ -172,12 +172,16 @@ test -z "$ENABLE_SMALL" || add_make_enabled "ENABLE_SMALL"
#
OS="${HOST#*-}" # strip architecture
case "${OS}" in
apple-darwin*)
arm-apple-darwin*)
add_make_enabled "HAVE_IOS" "HAVE_DARWIN_OS" "HAVE_BSD"
;;
*86*-apple-darwin*)
check_macosx_sdk
add_make_enabled "HAVE_MACOSX" "HAVE_DARWIN_OS" "HAVE_BSD"
;;
*darwin*)
add_make_enabled "HAVE_DARWIN_OS" "HAVE_BSD"
powerpc-apple-darwin*)
check_macosx_sdk
add_make_enabled "HAVE_MACOSX" "HAVE_DARWIN_OS" "HAVE_BSD"
;;
*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