mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
configure: in check_ld, place new -l flags before existing ones
This fixes some library tests when --as-needed is in effect. Signed-off-by: Mans Rullgard <mans@mansr.com>
This commit is contained in:
parent
7f0e747b8c
commit
7e75f9fe5e
2
configure
vendored
2
configure
vendored
@ -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(){
|
||||
|
Loading…
Reference in New Issue
Block a user