Do not use -mdynamic-no-pic if PIC is enabled

Originally committed as revision 20145 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Måns Rullgård 2009-10-02 08:41:54 +00:00
parent 50fa82e6d2
commit 8dfa86f78a
1 changed files with 1 additions and 1 deletions

2
configure vendored
View File

@ -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*)