Skip to content
Snippets Groups Projects
Commit 8eae6ee6 authored by Alexandre Janniaux's avatar Alexandre Janniaux Committed by Nicolas Pomepuy
Browse files

buildsystem: libvlc: avoid using realpath

realpath is not available on Darwin, even in zsh, and it makes the build
directory variable empty which completely break the build script later
in a non-obvious way, in particular by calling mkdir without directory
parameter.

With this change, it's possible to compile libvlc 4.0 for Android on
Darwin platforms.
parent 86682d01
No related branches found
No related tags found
1 merge request!1010compile-libvlc: improve support on Darwin platforms
......@@ -120,7 +120,7 @@ else
exit 1
fi
VLC_BUILD_DIR=$(realpath $VLC_SRC_DIR/build-android-${TARGET_TUPLE})
VLC_BUILD_DIR="$(cd $VLC_SRC_DIR/; pwd)/build-android-${TARGET_TUPLE}"
VLC_OUT_PATH="$VLC_BUILD_DIR/ndk"
mkdir -p $VLC_OUT_PATH
VLC_OUT_LDLIBS="-L$VLC_OUT_PATH/libs/${ANDROID_ABI} -lvlc"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment