Commit f78ef697 authored by Immanuel Thomas's avatar Immanuel Thomas Committed by Geoffrey Métais

Fix sed in compile script for BSD version in Mac

sed in Mac requires extension for backup file.
Signed-off-by: default avatarGeoffrey Métais <geoffrey.metais@gmail.com>
parent 47ec409c
......@@ -65,5 +65,6 @@ libVLC/build/
#medialibrary build
libvlc.pc
libvlc.pc.backup
libvlcpp.pc
lib/
......@@ -832,7 +832,7 @@ sed "s#@prefix@#${MEDIALIBRARY_MODULE_DIR}/medialibrary/libvlcpp#g" $SRC_DIR/pkg
$SRC_DIR/pkgs/libvlcpp.pc;
sed "s#@libdir@#$SRC_DIR/libvlc/jni/libs/$ANDROID_ABI#g" $SRC_DIR/pkgs/libvlc.pc.in > \
$SRC_DIR/pkgs/libvlc.pc;
sed -i "s#@includedirs@#-I${SRC_DIR}/vlc/include \
sed -i".backup" "s#@includedirs@#-I${SRC_DIR}/vlc/include \
-I${SRC_DIR}/vlc/build-android-$TARGET_TUPLE/include#g" $SRC_DIR/pkgs/libvlc.pc;
if [ ! -d "build-android-$ANDROID_ABI/" ]; then
......
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