[vlc-devel] [PATCH] buildsystem: osx: additional check for SDKROOT location alternative

Michael Feurstein michael.feurstein at gmail.com
Wed May 23 12:44:31 CEST 2012


---
 contrib/bootstrap |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/contrib/bootstrap b/contrib/bootstrap
index a0a7244..f263491 100755
--- a/contrib/bootstrap
+++ b/contrib/bootstrap
@@ -152,6 +152,13 @@ check_macosx_sdk()
 
    if [ ! -d "${SDKROOT}" ]
    then
+      SDKROOT_NOT_FOUND=`xcode-select -print-path`/Platforms/MacOSX.platform/Developer/SDKs/MacOSX$OSX_VERSION.sdk
+      SDKROOT=`xcode-select -print-path`/SDKs/MacOSX$OSX_VERSION.sdk
+      echo "SDKROOT not found at $SDKROOT_NOT_FOUND, trying $SDKROOT"
+   fi
+
+   if [ ! -d "${SDKROOT}" ]
+   then
       echo "*** ${SDKROOT} does not exist, please install required SDK, or set SDKROOT manually. ***"
       exit 1
    fi
-- 
1.7.4.4




More information about the vlc-devel mailing list