瀏覽代碼

build: fix build env

Thomas Guillem 8 年之前
父節點
當前提交
3e83845752
共有 1 個文件被更改,包括 9 次插入9 次删除
  1. 9 9
      buildMobileVLCKit.sh

+ 9 - 9
buildMobileVLCKit.sh

@@ -619,15 +619,15 @@ buildMobileKit() {
         fi
         export BUILDFORIOS="yes"
 
-        export AR="xcrun ar"
-        export RANLIB="xcrun ranlib"
-        export CC="xcrun clang"
-        export OBJC="xcrun clang"
-        export CXX="xcrun clang++"
-        export LD="xcrun ld"
-        export STRIP="xcrun strip"
-        export CPP="xcrun cc -E"
-        export CXXCPP="xcrun c++ -E"
+        export AR=`xcrun -f ar`
+        export RANLIB=`xcrun -f ranlib`
+        export CC=`xcrun -f clang`
+        export OBJC=`xcrun -f clang`
+        export CXX=`xcrun -f clang++`
+        export LD=`xcrun -f ld`
+        export STRIP=`xcrun -f strip`
+        export CPPFLAGS=-E
+        export CXXCPPFLAGS=-E
         unset AS
         unset CCAS