[FFmpeg-devel] [PATCH]configure: Use LDEXEFLAGS in check_ld().

Carl Eugen Hoyos cehoyos at ag.or.at
Wed Oct 5 16:12:31 EEST 2016


Hi!

Attached patch makes sure that libraries are tested with actual ldexeflags.

Please comment, Carl Eugen
-------------- next part --------------
From 5e26339b041f5e35112ed7f479ade6e57c3b5248 Mon Sep 17 00:00:00 2001
From: Carl Eugen Hoyos <cehoyos at ag.or.at>
Date: Wed, 5 Oct 2016 15:10:23 +0200
Subject: [PATCH] configure: Use LDEXEFLAGS in check_ld().

Avoids detecting libraries that are not compatible with ldexeflags.
---
 configure |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure b/configure
index f593191..9297321 100755
--- a/configure
+++ b/configure
@@ -985,7 +985,7 @@ check_ld(){
     check_$type $($cflags_filter $flags) || return
     flags=$($ldflags_filter $flags)
     libs=$($ldflags_filter $libs)
-    check_cmd $ld $LDFLAGS $flags $(ld_o $TMPE) $TMPO $libs $extralibs
+    check_cmd $ld $LDFLAGS $LDEXEFLAGS $flags $(ld_o $TMPE) $TMPO $libs $extralibs
 }
 
 print_include(){
-- 
1.7.10.4



More information about the ffmpeg-devel mailing list