Browse code

configure: fix PIC activation for x86_64 shared libs

Originally committed as revision 16563 to svn://svn.ffmpeg.org/ffmpeg/trunk

Måns Rullgård authored on 2009/01/12 08:49:06
Showing 1 changed files
... ...
@@ -2085,7 +2085,7 @@ fi
2085 2085
 if enabled shared; then
2086 2086
     # LIBOBJFLAGS may have already been set in the OS configuration
2087 2087
     if test -z "$LIBOBJFLAGS" ; then
2088
-        case "$arch" in
2088
+        case "${subarch-$arch}" in
2089 2089
             x86_64|ia64|alpha|sparc*|power*|parisc*|mips*) LIBOBJFLAGS='$(PIC)' ;;
2090 2090
         esac
2091 2091
     fi