--- I'm not sure I managed to add it to all the necessary places, but msvc builds with this seem to work as intended.
configure | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/configure b/configure index e8af4b4..9409524 100755 --- a/configure +++ b/configure @@ -601,7 +601,7 @@ add_ldflags(){ } add_extralibs(){ - prepend extralibs "$@" + prepend extralibs $($filter_ldflags "$@") } check_cmd(){ @@ -657,7 +657,7 @@ check_ld(){ test "${f}" = "${f#-l}" && flags="$flags $f" || libs="$libs $f" done check_cc $($filter_cflags $flags) || return - check_cmd $ld $LDFLAGS $flags -o $TMPE $TMPO $libs $extralibs + check_cmd $ld $LDFLAGS $($filter_ldflags $flags) -o $TMPE $TMPO $($filter_ldflags $libs) $extralibs } check_code(){ @@ -1945,6 +1945,7 @@ fi filter_asflags=echo filter_cflags=echo filter_cppflags=echo +filter_ldflags=echo if $cc -v 2>&1 | grep -q '^gcc.*LLVM'; then cc_type=llvm_gcc -- 1.7.9.4 _______________________________________________ libav-devel mailing list libav-devel@libav.org https://lists.libav.org/mailman/listinfo/libav-devel