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

Brendon Justin git at videolan.org
Tue Feb 28 00:30:14 CET 2012


vlc/vlc-2.0 | branch: master | Brendon Justin <brendonjustin at gmail.com> | Fri Feb 24 12:54:33 2012 -0500| [63a372248d3c4099739442f57031e4999941a8c9] | committer: Jean-Baptiste Kempf

macosx: Really use specified SDK in build.sh

Sets the SDK in addition to minimum deployment target.

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
(cherry picked from commit f89d9b2f571c7cff7ce63881ce575090dffb8fbd)

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

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

 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
 
 



More information about the vlc-commits mailing list