[vlc-devel] [PATCH 08/10] VLCKit: don't assume x86_64 is the default arch

Faustino E. Osuna enrique.osuna at gmail.com
Tue Jan 24 01:31:55 CET 2012


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.
---
 projects/macosx/framework/Pre-Compile.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/projects/macosx/framework/Pre-Compile.sh b/projects/macosx/framework/Pre-Compile.sh
index 65bb15c..0ac2b28 100644
--- a/projects/macosx/framework/Pre-Compile.sh
+++ b/projects/macosx/framework/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
 
-- 
1.7.7.4




More information about the vlc-devel mailing list