summaryrefslogtreecommitdiffstats
path: root/src/vnet.am
diff options
context:
space:
mode:
Diffstat (limited to 'src/vnet.am')
-rw-r--r--src/vnet.am8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/vnet.am b/src/vnet.am
index 3e1bdd60165..c787eb37703 100644
--- a/src/vnet.am
+++ b/src/vnet.am
@@ -27,6 +27,10 @@ if WITH_LIBSSL
libvnet_la_LIBADD += -lcrypto
endif
+if WITH_MBEDTLS
+libvnet_la_LIBADD += -lmbedtls -lmbedx509 -lmbedcrypto
+endif
+
########################################
# Generic stuff
########################################
@@ -970,6 +974,10 @@ libvnet_la_SOURCES += \
vnet/session-apps/http_server.c \
vnet/session-apps/proxy.c
+if WITH_MBEDTLS
+libvnet_la_SOURCES += vnet/session-apps/tls.c
+endif
+
nobase_include_HEADERS += \
vnet/session-apps/echo_client.h \
vnet/session-apps/proxy.h