[vlc-commits] contrib: don't stip the arch from {HOST}
Felix Paul Kühne
git at videolan.org
Tue Mar 20 18:42:49 CET 2012
vlc | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Tue Mar 20 18:42:40 2012 +0100| [fbfaa42af10a1dc78aa4e9cf2c21e26f19519ab1] | committer: Felix Paul Kühne
contrib: don't stip the arch from {HOST}
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=fbfaa42af10a1dc78aa4e9cf2c21e26f19519ab1
---
contrib/bootstrap | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/contrib/bootstrap b/contrib/bootstrap
index bf44162..35c47a3 100755
--- a/contrib/bootstrap
+++ b/contrib/bootstrap
@@ -170,8 +170,7 @@ test -z "$ENABLE_SMALL" || add_make_enabled "ENABLE_SMALL"
#
# Checks
#
-OS="${HOST#*-}" # strip architecture
-case "${OS}" in
+case "${HOST}" in
arm-apple-darwin*)
add_make_enabled "HAVE_IOS" "HAVE_DARWIN_OS" "HAVE_BSD"
;;
@@ -186,7 +185,7 @@ case "${OS}" in
*bsd*)
add_make_enabled "HAVE_BSD"
;;
- linux-androideabi)
+ *linux-androideabi)
check_android_sdk
add_make_enabled "HAVE_LINUX" "HAVE_ANDROID"
add_make "PATH = ${ANDROID_NDK}/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/:${PATH}"
More information about the vlc-commits
mailing list