configure: fix PIC activation for x86_64 shared libs
authorMåns Rullgård <mans@mansr.com>
Sun, 11 Jan 2009 23:49:06 +0000 (23:49 +0000)
committerMåns Rullgård <mans@mansr.com>
Sun, 11 Jan 2009 23:49:06 +0000 (23:49 +0000)
Originally committed as revision 16563 to svn://svn.ffmpeg.org/ffmpeg/trunk

configure

index ccca8d85d912adc77ee1c68bf355f12cf8e3f8b1..f1eab728fef7ef3a4ff11d49ec8ca742c7356859 100755 (executable)
--- 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