[vlc-commits] VLCKit: don't assume x86_64 is the default arch

Faustino E. Osuna git at videolan.org
Thu Jan 26 15:09:36 CET 2012


vlc | branch: master | Faustino E. Osuna <enrique.osuna at gmail.com> | Tue Jan 24 01:31:55 2012 +0100| [57b5204e0560e1f163727d316609223267d8d728] | committer: Jean-Baptiste Kempf

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 at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=57b5204e0560e1f163727d316609223267d8d728
---

 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
 



More information about the vlc-commits mailing list