[vlc-commits] add rpath to LDFLAGS to build plugin properly

Naohiro KORIYAMA git at videolan.org
Sat Aug 16 03:45:08 CEST 2014


vlc | branch: master | Naohiro KORIYAMA <nkoriyama at gmail.com> | Fri Aug 15 17:06:16 2014 +0900| [eca17502f763e2257c8044bd54f7f613e4b2c747] | committer: Francois Cartegnie

add rpath to LDFLAGS to build plugin properly

Signed-off-by: Francois Cartegnie <fcvlcdev at free.fr>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=eca17502f763e2257c8044bd54f7f613e4b2c747
---

 modules/codec/Makefile.am |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/modules/codec/Makefile.am b/modules/codec/Makefile.am
index 96b9bd9..25968d7 100644
--- a/modules/codec/Makefile.am
+++ b/modules/codec/Makefile.am
@@ -153,7 +153,8 @@ libdvbsub_plugin_la_SOURCES = codec/dvbsub.c
 codec_LTLIBRARIES += libdvbsub_plugin.la
 
 libaribsub_plugin_la_SOURCES = codec/arib/aribsub.c codec/arib/substext.h
-libaribsub_plugin_la_CFLAGS = $(ARIBB24_CFLAGS)
+libaribsub_plugin_la_CFLAGS = $(AM_CFLAGS) $(ARIBB24_CFLAGS)
+libaribsub_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(codecdir)'
 libaribsub_plugin_la_LIBADD = $(ARIBB24_LIBS)
 EXTRA_LTLIBRARIES += libaribsub_plugin.la
 codec_LTLIBRARIES += $(LTLIBaribsub)



More information about the vlc-commits mailing list