From 8dfa86f78a5e6f35b0626c0c5052ecf83c9142f9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A5ns=20Rullg=C3=A5rd?= Date: Fri, 2 Oct 2009 08:41:54 +0000 Subject: [PATCH] Do not use -mdynamic-no-pic if PIC is enabled Originally committed as revision 20145 to svn://svn.ffmpeg.org/ffmpeg/trunk --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure index d4dfe32453..351196129b 100755 --- a/configure +++ b/configure @@ -1901,7 +1901,7 @@ case $target_os in FFSERVERLDFLAGS=-Wl,-bind_at_load objformat="macho" enabled x86_64 && objformat="macho64" - enabled shared || + enabled_any pic shared || { check_cflags -mdynamic-no-pic && add_asflags -mdynamic-no-pic; } ;; mingw32*)