configure: always write PIC flags to config.mak
authorMåns Rullgård <mans@mansr.com>
Tue, 28 Jul 2009 08:58:36 +0000 (08:58 +0000)
committerMåns Rullgård <mans@mansr.com>
Tue, 28 Jul 2009 08:58:36 +0000 (08:58 +0000)
Originally committed as revision 19525 to svn://svn.ffmpeg.org/ffmpeg/trunk

configure

index 877344a..65b74fc 100755 (executable)
--- a/configure
+++ b/configure
@@ -2575,6 +2575,7 @@ echo "FFSERVERLDFLAGS=$FFSERVERLDFLAGS" >> config.mak
 echo "SHFLAGS=$SHFLAGS" >> config.mak
 echo "YASMFLAGS=$YASMFLAGS" >> config.mak
 echo "LIBOBJFLAGS=$LIBOBJFLAGS" >> config.mak
+echo "PIC=-fPIC -DPIC" >> config.mak
 echo "BUILD_STATIC=$static" >> config.mak
 echo "BUILDSUF=$build_suffix" >> config.mak
 echo "FULLNAME=$FULLNAME" >> config.mak
@@ -2623,7 +2624,6 @@ get_version LIBAVFILTER libavfilter/avfilter.h
 
 if enabled shared; then
     echo "BUILD_SHARED=yes" >> config.mak
-    echo "PIC=-fPIC -DPIC" >> config.mak
     echo "LIBTARGET=${LIBTARGET}" >> config.mak
     echo "SLIBNAME=${SLIBNAME}" >> config.mak
     echo "SLIBNAME_WITH_VERSION=${SLIBNAME_WITH_VERSION}" >> config.mak