summaryrefslogtreecommitdiff
path: root/stun
diff options
context:
space:
mode:
authorPhilip Withnall <philip@tecnocode.co.uk>2016-03-07 09:27:00 +0000
committerOlivier CrĂȘte <olivier.crete@collabora.com>2017-03-31 18:25:07 -0400
commitd81c0d5f535e7c335f7c7f57359a1863fbdd867e (patch)
tree4fc1d68940f4f69618f92f89447d7dd355bf10bf /stun
parent6c63f74af83c0697318cc690df9ba2bd9ad677ab (diff)
downloadlibnice-d81c0d5f535e7c335f7c7f57359a1863fbdd867e.tar.gz
stun: Add libgcrypt dependency
This will shortly be used to implement secure random number generation. Differential Revision: https://phabricator.freedesktop.org/D1609
Diffstat (limited to 'stun')
-rw-r--r--stun/Makefile.am9
1 files changed, 7 insertions, 2 deletions
diff --git a/stun/Makefile.am b/stun/Makefile.am
index f90c3d4..7645be9 100644
--- a/stun/Makefile.am
+++ b/stun/Makefile.am
@@ -10,7 +10,12 @@ SUBDIRS = . tools tests
include $(top_srcdir)/common.mk
-AM_CFLAGS = -std=gnu99 -DG_LOG_DOMAIN=\"libnice-stun\" $(LIBNICE_CFLAGS)
+AM_CFLAGS = \
+ -std=gnu99 \
+ -DG_LOG_DOMAIN=\"libnice-stun\" \
+ $(LIBNICE_CFLAGS) \
+ $(LIBGCRYPT_CFLAGS) \
+ $(NULL)
AM_CPPFLAGS = -I$(top_srcdir)
if WINDOWS
@@ -35,7 +40,7 @@ libstun_la_SOURCES = constants.h \
usages/turn.c usages/turn.h \
usages/timer.c usages/timer.h
-libstun_la_LIBADD = $(LIBRT)
+libstun_la_LIBADD = $(LIBRT) $(LIBGCRYPT_LIBS)
EXTRA_DIST = win32_common.h