[vlc-commits] contribs: osx: additional check for SDKROOT location alternative
Michael Feurstein
git at videolan.org
Thu Jun 7 01:44:19 CEST 2012
vlc | branch: master | Michael Feurstein <michael.feurstein at gmail.com> | Thu Jun 7 01:44:03 2012 +0200| [2d6e1751f3525121969241ea6a5f74e985c2af5d] | committer: Felix Paul Kühne
contribs: osx: additional check for SDKROOT location alternative
Signed-off-by: Felix Paul Kühne <fkuehne at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=2d6e1751f3525121969241ea6a5f74e985c2af5d
---
contrib/bootstrap | 7 +++++++
1 file changed, 7 insertions(+)
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
More information about the vlc-commits
mailing list