[vlc-commits] RTP access: fix dependency on rc.o when gcrypt is absent

Rafaël Carré git at videolan.org
Sat Aug 3 11:18:28 CEST 2013


vlc | branch: master | Rafaël Carré <funman at videolan.org> | Sat Aug  3 11:17:56 2013 +0200| [d83bfb592a2b545e03024c271fcb22aa61a9e780] | committer: Rafaël Carré

RTP access: fix dependency on rc.o when gcrypt is absent

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

 modules/access/rtp/Makefile.am |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/modules/access/rtp/Makefile.am b/modules/access/rtp/Makefile.am
index 49fdb96..2022c41 100644
--- a/modules/access/rtp/Makefile.am
+++ b/modules/access/rtp/Makefile.am
@@ -23,6 +23,7 @@ srtp_test_recv_LDADD = libvlc_srtp.la
 srtp_test_aes_CPPFLAGS =
 srtp_test_aes_LDADD = $(GCRYPT_LIBS)
 
+librtp_plugin_la_DEPENDENCIES =
 if HAVE_GCRYPT
 noinst_HEADERS = srtp.h
 noinst_LTLIBRARIES = libvlc_srtp.la
@@ -32,11 +33,11 @@ TESTS = $(check_PROGRAMS)
 
 librtp_plugin_la_CFLAGS += -DHAVE_SRTP $(GCRYPT_CFLAGS)
 librtp_plugin_la_LIBADD += libvlc_srtp.la $(GCRYPT_LIBS)
-librtp_plugin_la_DEPENDENCIES = libvlc_srtp.la
+librtp_plugin_la_DEPENDENCIES += libvlc_srtp.la
+endif
 if HAVE_WIN32
 librtp_plugin_la_DEPENDENCIES += librtp_plugin.rc.o
 endif
-endif
 
 lcov-run:
 	rm -Rf *.gcda lcov



More information about the vlc-commits mailing list