]> git.sesse.net Git - ffmpeg/commitdiff
Fix configure to properly build without PIC by default on Darwin
authorAlexander Strange <astrange@ithinksw.com>
Wed, 12 Mar 2008 23:15:57 +0000 (23:15 +0000)
committerRobert Swain <robert.swain@gmail.com>
Wed, 12 Mar 2008 23:15:57 +0000 (23:15 +0000)
Patch by Alexander Strange (astrange ithinksw com)

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

configure

index 4bea3209a1ecec521081e1f8703ee184c12647ec..32a398008f726a8231a71dcfdb89a31674492368 100755 (executable)
--- a/configure
+++ b/configure
@@ -1374,7 +1374,7 @@ if test $targetos = darwin; then
         add_cflags "-pipe"
         check_cflags "-force_cpusubtype_ALL"
         check_cflags "-Wno-sign-compare"
-        disabled shared && add_cflags -mdynamic-no-pic
+        enabled shared || add_cflags -mdynamic-no-pic
     fi
 fi