From eb04227c4c2cee59b257b2ef91316d0c674575bf Mon Sep 17 00:00:00 2001
From: Carl Eugen Hoyos <ceffmpeg@gmail.com>
Date: Fri, 13 Jul 2018 20:46:18 +0200
Subject: [PATCH] configure: Force pie for Android.
Position-independet executable are requried since Lollipop.
---
configure | 2 ++
1 file changed, 2 insertions(+)
@@ -5045,6 +5045,8 @@ case $target_os in
android)
disable symver
enable section_data_rel_ro
+ add_cflags -fPIE
+ add_ldexeflags -fPIE -pie
SLIB_INSTALL_NAME='$(SLIBNAME)'
SLIB_INSTALL_LINKS=
SHFLAGS='-shared -Wl,-soname,$(SLIBNAME)'
--
1.7.10.4