configure: simplify -rpath-link linker flag

Lists of ':'-separated directories can be passed to -rpath-link directly.
This commit is contained in:
Diego Biurrun 2011-07-05 02:34:28 +02:00
parent 3824ef08e0
commit 965dbe09b0

2
configure vendored
View File

@ -2958,7 +2958,7 @@ enabled extra_warnings && check_cflags -Winline
# add some linker flags
check_ldflags -Wl,--warn-common
check_ldflags -Wl,-rpath-link,libpostproc -Wl,-rpath-link,libswscale -Wl,-rpath-link,libavfilter -Wl,-rpath-link,libavdevice -Wl,-rpath-link,libavformat -Wl,-rpath-link,libavcodec -Wl,-rpath-link,libavutil
check_ldflags -Wl,-rpath-link=libpostproc:libswscale:libavfilter:libavdevice:libavformat:libavcodec:libavutil
test_ldflags -Wl,-Bsymbolic && append SHFLAGS -Wl,-Bsymbolic
echo "X{};" > $TMPV