[vlc-commits] commit: contribs: fixed broken check ( =?UTF-8?Q?Felix=20Paul=20K=C3=BChne=20?=)
git at videolan.org
git at videolan.org
Fri Dec 31 15:31:29 CET 2010
vlc | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Fri Dec 31 15:31:15 2010 +0100| [b5ff30806b3b332bcfeb4ddbe58a6419ed58892a] | committer: Felix Paul Kühne
contribs: fixed broken check
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=b5ff30806b3b332bcfeb4ddbe58a6419ed58892a
---
extras/contrib/bootstrap | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/extras/contrib/bootstrap b/extras/contrib/bootstrap
index 078b9a4..ca37868 100755
--- a/extras/contrib/bootstrap
+++ b/extras/contrib/bootstrap
@@ -405,12 +405,12 @@ if test "$TARGET" != "$BUILD"; then
if test ${DISTRO} = "win32"; then
echo "SET(CMAKE_SYSTEM_NAME Windows)" >> "${toolchain_cmake}"
fi
- if test ${DISTRO} = "macosx64"||"macosx32"; then
+ case "$DISTRO" in macosx*)
echo "SET(CMAKE_SYSTEM_NAME Darwin)" >> "${toolchain_cmake}"
echo "set(CMAKE_C_FLAGS ${CFLAGS_TUNING} ${EXTRA_CFLAGS})" >> "${toolchain_cmake}"
echo "set(CMAKE_CXX_FLAGS ${CFLAGS_TUNING} ${EXTRA_CFLAGS})" >> "${toolchain_cmake}"
echo "set(CMAKE_LD_FLAGS ${EXTRA_LDFLAGS})" >> "${toolchain_cmake}"
- fi
+ esac
echo "SET(CMAKE_C_COMPILER ${CC})" >> "${toolchain_cmake}"
echo "SET(CMAKE_CXX_COMPILER ${CXX})" >> "${toolchain_cmake}"
echo "SET(CMAKE_FIND_ROOT_PATH `pwd` )" >> "${toolchain_cmake}"
More information about the vlc-commits
mailing list