mirror of https://git.ffmpeg.org/ffmpeg.git
configure: simplify -rpath-link linker flag
Lists of ':'-separated directories can be passed to -rpath-link directly.
This commit is contained in:
parent
3824ef08e0
commit
965dbe09b0
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue