Browse Source

build script: automatically detect installed SDK version

Signed-off-by: Felix Paul Kühne <fkuehne@videolan.org>
Gleb Pinigin 11 years ago
parent
commit
d10471825e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      compileVLCforiOS.sh

+ 1 - 1
compileVLCforiOS.sh

@@ -5,7 +5,7 @@
 set -e
 
 PLATFORM=iphoneos
-SDK=7.1
+SDK=`xcrun --sdk iphoneos --show-sdk-version`
 SDK_MIN=6.1
 VERBOSE=no
 CONFIGURATION="Release"