mirror of https://git.ffmpeg.org/ffmpeg.git
configure: Fix ld flags when rpath is enabled.
Provide correct rpath flags to ld when --enable-rpath is provided.
This commit is contained in:
parent
291d464161
commit
443936d8b9
|
@ -4823,7 +4823,7 @@ check_disable_warning -Wno-pointer-sign
|
|||
# add some linker flags
|
||||
check_ldflags -Wl,--warn-common
|
||||
check_ldflags -Wl,-rpath-link=libpostproc:libswresample:libswscale:libavfilter:libavdevice:libavformat:libavcodec:libavutil:libavresample
|
||||
enabled rpath && add_ldflags -Wl,-rpath=$libdir
|
||||
enabled rpath && add_ldflags -Wl,-rpath,$libdir
|
||||
test_ldflags -Wl,-Bsymbolic && append SHFLAGS -Wl,-Bsymbolic
|
||||
|
||||
# add some strip flags
|
||||
|
|
Loading…
Reference in New Issue