[Android] Add --with-pic to libvlc build

Marvin Scholz git at videolan.org
Fri Oct 18 15:48:18 CEST 2019


vlc-android | branch: master | Marvin Scholz <epirat07 at gmail.com> | Fri Oct 18 14:59:45 2019 +0200| [cfa2cd1c2708875bc8ecc1b39b6c67445fb78bed] | committer: Marvin Scholz

Add --with-pic to libvlc build

Fixes the build for x86 as android does not allow text relocations.

> https://code.videolan.org/videolan/vlc-android/commit/cfa2cd1c2708875bc8ecc1b39b6c67445fb78bed
---

 compile-libvlc.sh | 1 +
 1 file changed, 1 insertion(+)

diff --git a/compile-libvlc.sh b/compile-libvlc.sh
index 4d9dfd9eb..3bc3c43d4 100755
--- a/compile-libvlc.sh
+++ b/compile-libvlc.sh
@@ -321,6 +321,7 @@ VLC_BOOTSTRAP_ARGS="\
 ###########################
 
 VLC_CONFIGURE_ARGS="\
+    --with-pic \
     --disable-nls \
     --enable-live555 --enable-realrtsp \
     --enable-avformat \



More information about the Android mailing list