Commit 443936d8 authored by YuDenzel's avatar YuDenzel Committed by Michael Niedermayer

configure: Fix ld flags when rpath is enabled.

Provide correct rpath flags to ld when --enable-rpath is provided.
parent 291d4641
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment