diff --git a/configure b/configure index 9b5d8552ce39fd985ecdcb9eae2b85a904b670a9..8e2961c8b37674426e2a2eae7e6d25522ca1ddf6 100755 --- a/configure +++ b/configure @@ -641,7 +641,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 $extralibs $libs + check_cmd $ld $LDFLAGS $flags -o $TMPE $TMPO $libs $extralibs } check_cppflags(){