summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2009-01-11 23:49:06 +0000
committerMåns Rullgård <mans@mansr.com>2009-01-11 23:49:06 +0000
commita8e286982097d394877fc38116bb243086d4d066 (patch)
tree0fbd577a85b4a7a6f0d27a6189ed75c3e03e5b9b /configure
parentd9513de67ceefcfeb7aeba39811637fa9e90c3a3 (diff)
configure: fix PIC activation for x86_64 shared libs
Originally committed as revision 16563 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 ccca8d85d9..f1eab728fe 100755
--- a/configure
+++ b/configure
@@ -2085,7 +2085,7 @@ fi
if enabled shared; then
# LIBOBJFLAGS may have already been set in the OS configuration
if test -z "$LIBOBJFLAGS" ; then
- case "$arch" in
+ case "${subarch-$arch}" in
x86_64|ia64|alpha|sparc*|power*|parisc*|mips*) LIBOBJFLAGS='$(PIC)' ;;
esac
fi