[vlc-commits] contribs: fixed hardcoded paths

Felix Paul Kühne git at videolan.org
Sun Sep 4 12:23:03 CEST 2011


vlc | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Sun Sep  4 12:22:55 2011 +0200| [cd0398cf516a94e527f4da04b4438491814ab5ee] | committer: Felix Paul Kühne

contribs: fixed hardcoded paths

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=cd0398cf516a94e527f4da04b4438491814ab5ee
---

 extras/contrib/bootstrap |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/extras/contrib/bootstrap b/extras/contrib/bootstrap
index 4db4795..9d32354 100755
--- a/extras/contrib/bootstrap
+++ b/extras/contrib/bootstrap
@@ -324,8 +324,8 @@ case "$DISTRO" in
     HAVE_MACOSX_DARWIN_9=1
     EXTRA_LDFLAGS="${EXTRA_LDFLAGS} -isysroot \${MACOSX_SDK} -Wl,-syslibroot,\${MACOSX_SDK} -mmacosx-version-min=\${SDK_TARGET}"
     EXTRA_CFLAGS="${EXTRA_CFLAGS} -D\${ENVP} -isysroot \${MACOSX_SDK} -mmacosx-version-min=\${SDK_TARGET}"
-    CC="/usr/bin/gcc-4.2"
-    CXX="/usr/bin/g++-4.2"
+    CC="/usr/bin/gcc"
+    CXX="/usr/bin/g++"
     LD="ld"
     RANLIB="ranlib"
     AR=
@@ -463,8 +463,8 @@ fi
 
 if test $HAVE_MACOSX_DARWIN_9; then
     add_enabled_makefile_cfg "HAVE_MACOSX_DARWIN_9"
-    if ! /usr/bin/gcc-4.2 --version>/dev/null 2>&1; then
-        error "You do not have GCC-4.2 installed in /usr/bin, compilation WILL FAIL."
+    if ! /usr/bin/gcc --version>/dev/null 2>&1; then
+        error "You do not have GCC installed in /usr/bin, compilation WILL FAIL."
     fi
 fi
 



More information about the vlc-commits mailing list