summaryrefslogtreecommitdiffstats
path: root/src/plugins/dpdk.am
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/dpdk.am')
-rw-r--r--src/plugins/dpdk.am7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/plugins/dpdk.am b/src/plugins/dpdk.am
index 01383de60ae..b857429d73c 100644
--- a/src/plugins/dpdk.am
+++ b/src/plugins/dpdk.am
@@ -14,7 +14,12 @@
vppapitestplugins_LTLIBRARIES += dpdk_test_plugin.la
vppplugins_LTLIBRARIES += dpdk_plugin.la
-dpdk_plugin_la_LDFLAGS = $(AM_LDFLAGS) -Wl,--whole-archive,-l:libdpdk.a,--no-whole-archive,-lm,-ldl
+dpdk_plugin_la_LDFLAGS = $(AM_LDFLAGS) -Wl,--whole-archive,-l:libdpdk.a,--no-whole-archive
+if WITH_DPDK_CRYPTO_SW
+dpdk_plugin_la_LDFLAGS += -Wl,--exclude-libs,libIPSec_MB.a,-l:libIPSec_MB.a
+dpdk_plugin_la_LDFLAGS += -Wl,--exclude-libs,libisal_crypto.a,-l:libisal_crypto.a
+endif
+dpdk_plugin_la_LDFLAGS += -Wl,-lm,-ldl
dpdk_plugin_la_SOURCES = \
dpdk/main.c \