OSX's ld sometimes does and sometimes doesn't need -liconv.
For instance, -Wl,-dead_strip in LDFLAGS will make the iconv conf check pass
without -liconv, but linking ffmpeg_g will fail. There are likely other awkward
interactions that could cause that sort of issue. Thus, we'll try to use the
-liconv arg and fallback on not using it, rather than the other way around.
---
 configure | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure b/configure
index e5cd88e..0d4d7cb 100755
--- a/configure
+++ b/configure
@@ -5773,7 +5773,7 @@ enabled vdpau && enabled xlib &&
     enable vdpau_x11
 
 # Funny iconv installations are not unusual, so check it after all flags have 
been set
-disabled iconv || check_func_headers iconv.h iconv || check_lib2 iconv.h iconv 
-liconv || disable iconv
+disabled iconv || check_func_headers iconv.h iconv -liconv || check_lib2 
iconv.h iconv || disable iconv
 
 enabled debug && add_cflags -g"$debuglevel" && add_asflags -g"$debuglevel"
 
-- 
2.7.0

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to