[SCM] libav/experimental: Fix the EBX available configure check on Darwin/i386.

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


The following commit has been merged in the experimental branch:
commit 2704bd1a0982f1a94e54b375da25b69d84660963
Author: Alexander Strange <astrange at ithinksw.com>
Date:   Mon Aug 10 08:18:05 2009 +0000

    Fix the EBX available configure check on Darwin/i386.
    
    -mdynamic-no-pic is required for it, but it was only
    added to CFLAGS and the check only used ASFLAGS.
    
    Originally committed as revision 19614 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/configure b/configure
index e507034..e55cfdc 100755
--- a/configure
+++ b/configure
@@ -1871,7 +1871,8 @@ case $target_os in
         FFSERVERLDFLAGS=-Wl,-bind_at_load
         objformat="macho"
         enabled x86_64 && objformat="macho64"
-        enabled shared || check_cflags -mdynamic-no-pic
+        enabled shared ||
+            { check_cflags -mdynamic-no-pic && add_asflags -mdynamic-no-pic; }
         ;;
     mingw32*)
         if test $target_os = "mingw32ce"; then

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list