summaryrefslogtreecommitdiffstats
path: root/src/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/dpdk.am4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/plugins/dpdk.am b/src/plugins/dpdk.am
index 6c15d0abd8e..01655667290 100644
--- a/src/plugins/dpdk.am
+++ b/src/plugins/dpdk.am
@@ -30,7 +30,11 @@ if WITH_LIBNUMA
dpdk_plugin_la_LDFLAGS += -Wl,-lnuma
endif
+if WITH_DPDK_MLX5_PMD
+dpdk_plugin_la_LDFLAGS += -Wl,-lm,-ldl,-lmnl
+else
dpdk_plugin_la_LDFLAGS += -Wl,-lm,-ldl
+endif
dpdk_plugin_la_LIBADD =
dpdk_plugin_la_SOURCES = \