[vlc-commits] contrib: fixed SDK lookup using Xcode 4.2 or later

Felix Paul Kühne git at videolan.org
Sun Aug 19 12:55:20 CEST 2012


vlc | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Fri Aug 17 14:39:56 2012 +0200| [6b521aafb0b4db719cd4b6a173b51f27971c9fec] | committer: Felix Paul Kühne

contrib: fixed SDK lookup using Xcode 4.2 or later

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

 contrib/bootstrap    |    1 +
 contrib/src/main.mak |    1 -
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/contrib/bootstrap b/contrib/bootstrap
index 631ac57..d090a72 100755
--- a/contrib/bootstrap
+++ b/contrib/bootstrap
@@ -163,6 +163,7 @@ check_macosx_sdk()
       exit 1
    fi
 
+   add_make "MACOSX_SDK=${SDKROOT}"
    add_make "OSX_VERSION ?= ${OSX_VERSION}"
 }
 
diff --git a/contrib/src/main.mak b/contrib/src/main.mak
index 2d1d1f0..2d3f3bb 100644
--- a/contrib/src/main.mak
+++ b/contrib/src/main.mak
@@ -106,7 +106,6 @@ endif
 
 ifdef HAVE_MACOSX
 MIN_OSX_VERSION=10.5
-MACOSX_SDK=/Developer/SDKs/MacOSX$(OSX_VERSION).sdk
 CC=gcc-4.2
 CXX=g++-4.2
 AR=ar



More information about the vlc-commits mailing list