Переглянути джерело

VLCKit: don't assume x86_64 is the default arch

When referring to the main_build_dir don't assume that the x86_64
subdirectory is a part of the ARCHS that we are building. Grab the
first arch in the list of ARCHS and use that as the main_build_dir.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Faustino E. Osuna 13 роки тому
батько
коміт
ed1ad85c2c
1 змінених файлів з 1 додано та 1 видалено
  1. 1 1
      Pre-Compile.sh

+ 1 - 1
Pre-Compile.sh

@@ -28,7 +28,7 @@ if test "${ACTION}" = "release-makefile"; then
     main_build_dir="${VLC_BUILD_DIR}"
 else
     use_archs="yes"
-    main_build_dir="${VLC_BUILD_DIR}/x86_64"
+    main_build_dir="${VLC_BUILD_DIR}/${ARCHS%% *}"
     echo "Building for $ARCHS"
 fi