summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorYuDenzel <yudenzel@outlook.com>2014-04-23 13:06:37 +0800
committerMichael Niedermayer <michaelni@gmx.at>2014-04-24 03:03:45 +0200
commit443936d8b9995c1b4edba5f2aa7204e77e5232e7 (patch)
treeac6d9285cbf3dc6edb02d9ec117411b7a6ae3681 /configure
parent291d464161a5bf3b566bc147f83e4242b0c18d74 (diff)
downloadffmpeg-443936d8b9995c1b4edba5f2aa7204e77e5232e7.tar.gz
configure: Fix ld flags when rpath is enabled.
Provide correct rpath flags to ld when --enable-rpath is provided.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index ddd0eeb269..413cf9a9b6 100755
--- a/configure
+++ b/configure
@@ -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