[SCM] libav/experimental: Fix configure to properly build without PIC by default on Darwin

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 16:16:55 UTC 2013


The following commit has been merged in the experimental branch:
commit 8b83d568930506600c65c14aaa76089d1c618d69
Author: Alexander Strange <astrange at ithinksw.com>
Date:   Wed Mar 12 23:15:57 2008 +0000

    Fix configure to properly build without PIC by default on Darwin
    
    Patch by Alexander Strange (astrange ithinksw com)
    
    Originally committed as revision 12425 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/configure b/configure
index 4bea320..32a3980 100755
--- 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
 

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list