[vlc-commits] contrib/OSX: add compilation support in case Xcode' s command-line support package wasn't installed
Felix Paul Kühne
git at videolan.org
Sun Aug 19 12:55:21 CEST 2012
vlc | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Fri Aug 17 14:43:50 2012 +0200| [41f87f4dd08dcb9dd2a766440a59170f0da0c3f3] | committer: Felix Paul Kühne
contrib/OSX: add compilation support in case Xcode's command-line support package wasn't installed
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=41f87f4dd08dcb9dd2a766440a59170f0da0c3f3
---
contrib/src/main.mak | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/contrib/src/main.mak b/contrib/src/main.mak
index 1c9abb5..e99281d 100644
--- a/contrib/src/main.mak
+++ b/contrib/src/main.mak
@@ -106,12 +106,12 @@ endif
ifdef HAVE_MACOSX
MIN_OSX_VERSION=10.6
-CC=gcc-4.2
-CXX=g++-4.2
-AR=ar
-LD=ld
-STRIP=strip
-RANLIB=ranlib
+CC=xcrun gcc
+CXX=xcrun g++
+AR=xcrun ar
+LD=xcrun ld
+STRIP=xcrun strip
+RANLIB=xcrun ranlib
EXTRA_CFLAGS += -isysroot $(MACOSX_SDK) -mmacosx-version-min=$(MIN_OSX_VERSION) -DMACOSX_DEPLOYMENT_TARGET=$(MIN_OSX_VERSION)
EXTRA_LDFLAGS += -Wl,-syslibroot,$(MACOSX_SDK) -mmacosx-version-min=$(MIN_OSX_VERSION) -isysroot $(MACOSX_SDK) -DMACOSX_DEPLOYMENT_TARGET=$(MIN_OSX_VERSION)
ifeq ($(ARCH),x86_64)
More information about the vlc-commits
mailing list