[vlc-devel] [PATCH 1/2] apple: build: use VLC_SRC_DIR

Alexandre Janniaux ajanni at videolabs.io
Thu Feb 27 21:33:48 CET 2020


The script might be used from any place and is not bound to use the same
file hierarchy as VLCKit.
---
 extras/package/apple/build.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/extras/package/apple/build.sh b/extras/package/apple/build.sh
index 978871a6db..e334490c39 100755
--- a/extras/package/apple/build.sh
+++ b/extras/package/apple/build.sh
@@ -630,7 +630,7 @@ cd "${VLC_BUILD_DIR}/build" || abort_err "Failed cd to VLC build dir"
 # Create VLC install dir if it does not already exist
 mkdir -p "$VLC_INSTALL_DIR"
 
-../../configure \
+${VLC_SRC_DIR}/configure \
     --with-contrib="$VLC_CONTRIB_INSTALL_DIR" \
     --host="$VLC_HOST_TRIPLET" \
     --prefix="$VLC_INSTALL_DIR" \
-- 
2.25.1



More information about the vlc-devel mailing list