configure: Use LDEXEFLAGS in check_ld().

Avoids detecting libraries that are not compatible with ldexeflags.
This commit is contained in:
Carl Eugen Hoyos 2016-10-05 15:10:23 +02:00
parent 30c5587503
commit 932bbfc5d8
1 changed files with 1 additions and 1 deletions

2
configure vendored
View File

@ -984,7 +984,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(){