Commit 57b5204e authored by Faustino E. Osuna's avatar Faustino E. Osuna Committed by 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: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent e9d0c51c
...@@ -28,7 +28,7 @@ if test "${ACTION}" = "release-makefile"; then ...@@ -28,7 +28,7 @@ if test "${ACTION}" = "release-makefile"; then
main_build_dir="${VLC_BUILD_DIR}" main_build_dir="${VLC_BUILD_DIR}"
else else
use_archs="yes" use_archs="yes"
main_build_dir="${VLC_BUILD_DIR}/x86_64" main_build_dir="${VLC_BUILD_DIR}/${ARCHS%% *}"
echo "Building for $ARCHS" echo "Building for $ARCHS"
fi fi
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment