[vlc-commits] SRTP needs gcrypt

Rémi Denis-Courmont git at videolan.org
Fri Aug 19 23:00:16 CEST 2011


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Fri Aug 19 23:44:37 2011 +0300| [92695765b076250c6d005493cbc9e8e54c393fe0] | committer: Rémi Denis-Courmont

SRTP needs gcrypt

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

 modules/access/rtp/Modules.am |    6 ++++--
 modules/stream_out/Modules.am |    5 +++--
 2 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/modules/access/rtp/Modules.am b/modules/access/rtp/Modules.am
index 032923f..cbb4736 100644
--- a/modules/access/rtp/Modules.am
+++ b/modules/access/rtp/Modules.am
@@ -12,7 +12,9 @@ librtp_plugin_la_LIBADD = $(AM_LIBADD) $(SOCKET_LIBS)
 librtp_plugin_la_DEPENDENCIES =
 
 if HAVE_GCRYPT
-librtp_plugin_la_CFLAGS += -DHAVE_SRTP -I$(top_srcdir)/libs/srtp
-librtp_plugin_la_LIBADD += $(top_builddir)/libs/srtp/libvlc_srtp.la
+librtp_plugin_la_CFLAGS += -DHAVE_SRTP -I$(top_srcdir)/libs/srtp \
+	$(GCRYPT_CFLAGS)
+librtp_plugin_la_LIBADD += $(top_builddir)/libs/srtp/libvlc_srtp.la \
+	$(GCRYPT_LIBS)
 librtp_plugin_la_DEPENDENCIES += $(top_builddir)/libs/srtp/libvlc_srtp.la
 endif
diff --git a/modules/stream_out/Modules.am b/modules/stream_out/Modules.am
index 608229c..b1fa089 100644
--- a/modules/stream_out/Modules.am
+++ b/modules/stream_out/Modules.am
@@ -49,7 +49,8 @@ libstream_out_rtp_plugin_la_DEPENDENCIES =
 if HAVE_GCRYPT
 SRTP_CFLAGS = -I$(top_srcdir)/libs/srtp
 SRTP_LIBS = $(top_builddir)/libs/srtp/libvlc_srtp.la
-libstream_out_rtp_plugin_la_CFLAGS += -DHAVE_SRTP $(SRTP_CFLAGS)
-libstream_out_rtp_plugin_la_LIBADD += $(SRTP_LIBS)
+libstream_out_rtp_plugin_la_CFLAGS += -DHAVE_SRTP $(SRTP_CFLAGS) \
+	$(GCRYPT_CFLAGS)
+libstream_out_rtp_plugin_la_LIBADD += $(SRTP_LIBS) $(GCRYPT_LIBS)
 libstream_out_rtp_plugin_la_DEPENDENCIES += $(SRTP_LIBS)
 endif



More information about the vlc-commits mailing list