[FFmpeg-cvslog] configure: simplify -rpath-link linker flag

Diego Biurrun git at videolan.org
Wed Jul 6 01:37:07 CEST 2011


ffmpeg | branch: master | Diego Biurrun <diego at biurrun.de> | Tue Jul  5 02:34:28 2011 +0200| [965dbe09b01c45eaf5d6dacde4bf03267751ebc9] | committer: Diego Biurrun

configure: simplify -rpath-link linker flag

Lists of ':'-separated directories can be passed to -rpath-link directly.

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

 configure |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/configure b/configure
index e315afa..e77340f 100755
--- a/configure
+++ b/configure
@@ -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



More information about the ffmpeg-cvslog mailing list