[vlc-devel] [PATCH] macosx: Really use specified SDK in build.sh

Brendon Justin brendonjustin at gmail.com
Fri Feb 24 18:54:33 CET 2012


Sets the SDK in addition to minimum deployment target.
---
 extras/package/macosx/build.sh |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/extras/package/macosx/build.sh b/extras/package/macosx/build.sh
index 230d841..4ed57be 100755
--- a/extras/package/macosx/build.sh
+++ b/extras/package/macosx/build.sh
@@ -138,7 +138,8 @@ if [ "${vlcroot}/configure" -nt Makefile ]; then
   ${vlcroot}/extras/package/macosx/configure.sh \
       --build=$TRIPLET \
       --host=$TRIPLET \
-      --with-macosx-version-min=$OSX_VERSION > $out
+      --with-macosx-version-min=$OSX_VERSION \
+      --with-macosx-sdk=/Developer/SDKs/MacOSX$OSX_VERSION.sdk > $out
 fi
 
 
-- 
1.7.7.5 (Apple Git-26)




More information about the vlc-devel mailing list