[FFmpeg-cvslog] configure: Fix ld flags when rpath is enabled.

YuDenzel git at videolan.org
Thu Apr 24 03:46:20 CEST 2014


ffmpeg | branch: master | YuDenzel <yudenzel at outlook.com> | Wed Apr 23 13:06:37 2014 +0800| [443936d8b9995c1b4edba5f2aa7204e77e5232e7] | committer: Michael Niedermayer

configure: Fix ld flags when rpath is enabled.

Provide correct rpath flags to ld when --enable-rpath is provided.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=443936d8b9995c1b4edba5f2aa7204e77e5232e7
---

 configure |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure b/configure
index ddd0eeb..413cf9a 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



More information about the ffmpeg-cvslog mailing list