mirror of https://git.ffmpeg.org/ffmpeg.git
configure: Force pie for Android.
Position-independent executables are required since Lollipop. Reported-by: Mohammed Bey Ahmed Khernache
This commit is contained in:
parent
81a18f219e
commit
d01d46ad86
|
@ -5049,6 +5049,8 @@ case $target_os in
|
||||||
android)
|
android)
|
||||||
disable symver
|
disable symver
|
||||||
enable section_data_rel_ro
|
enable section_data_rel_ro
|
||||||
|
add_cflags -fPIE
|
||||||
|
add_ldexeflags -fPIE -pie
|
||||||
SLIB_INSTALL_NAME='$(SLIBNAME)'
|
SLIB_INSTALL_NAME='$(SLIBNAME)'
|
||||||
SLIB_INSTALL_LINKS=
|
SLIB_INSTALL_LINKS=
|
||||||
SHFLAGS='-shared -Wl,-soname,$(SLIBNAME)'
|
SHFLAGS='-shared -Wl,-soname,$(SLIBNAME)'
|
||||||
|
|
Loading…
Reference in New Issue