aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2009-10-02 08:41:54 +0000
committerMåns Rullgård <mans@mansr.com>2009-10-02 08:41:54 +0000
commit8dfa86f78a5e6f35b0626c0c5052ecf83c9142f9 (patch)
tree2b7ceb67729aab60eaf87007c9c42565ab571b30 /configure
parent50fa82e6d2f16d66b1182c1330e28a0ced7e98af (diff)
downloadffmpeg-8dfa86f78a5e6f35b0626c0c5052ecf83c9142f9.tar.gz
Do not use -mdynamic-no-pic if PIC is enabled
Originally committed as revision 20145 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
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*)