Add -Wl,-rpath-link flags for all libraries to LDLATEFLAGS.
authorDiego Biurrun <diego@biurrun.de>
Fri, 6 Jun 2008 15:19:09 +0000 (15:19 +0000)
committerDiego Biurrun <diego@biurrun.de>
Fri, 6 Jun 2008 15:19:09 +0000 (15:19 +0000)
inspired by a patch from Debian

Originally committed as revision 13671 to svn://svn.ffmpeg.org/ffmpeg/trunk

configure

index 542a8e4..cd3b600 100755 (executable)
--- a/configure
+++ b/configure
@@ -955,7 +955,7 @@ vhook="default"
 # build settings
 SHFLAGS='-shared -Wl,-soname,$$(@F)'
 VHOOKSHFLAGS='$(SHFLAGS)'
-LDLATEFLAGS='-Wl,-rpath-link,\$(BUILD_ROOT)/libavcodec -Wl,-rpath-link,\$(BUILD_ROOT)/libavformat -Wl,-rpath-link,\$(BUILD_ROOT)/libavutil'
+LDLATEFLAGS='-Wl,-rpath-link,\$(BUILD_ROOT)/libpostproc -Wl,-rpath-link,\$(BUILD_ROOT)/libswscale -Wl,-rpath-link,\$(BUILD_ROOT)/libavfilter -Wl,-rpath-link,\$(BUILD_ROOT)/libavdevice -Wl,-rpath-link,\$(BUILD_ROOT)/libavformat -Wl,-rpath-link,\$(BUILD_ROOT)/libavcodec -Wl,-rpath-link,\$(BUILD_ROOT)/libavutil'
 FFSERVERLDFLAGS=-Wl,-E
 LIBPREF="lib"
 LIBSUF=".a"