diff options
author | Zoltan Kiss <zoltan.kiss@linaro.org> | 2016-07-26 14:04:50 +0100 |
---|---|---|
committer | Zoltan Kiss <zoltan.kiss@linaro.org> | 2016-07-26 14:04:50 +0100 |
commit | 70078c5c31187b942e6aa60914d17af8fdf99433 (patch) | |
tree | f0daca4a3f1a6ce5d1f4c5b1b3bb517dfba11878 | |
parent | e7a3114f048af76c047fe44b2b2e15440264fde6 (diff) |
linux-dpdk: refer to all DPDK libraries in the shared library
Otherwise we won't load the PMD's, which breaks every packet operation.
Signed-off-by: Zoltan Kiss <zoltan.kiss@linaro.org>
-rw-r--r-- | platform/linux-dpdk/Makefile.am | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/linux-dpdk/Makefile.am b/platform/linux-dpdk/Makefile.am index 4b2d9fffa..d4e9c79eb 100644 --- a/platform/linux-dpdk/Makefile.am +++ b/platform/linux-dpdk/Makefile.am @@ -19,7 +19,7 @@ AM_CFLAGS += -I$(top_srcdir)/include AM_CFLAGS += -Iinclude if SHARED_DPDK -DPDK_LIBS = -ldl -lm -lpcap +DPDK_LIBS = -Wl,--no-as-needed,-ldpdk,--as-needed -ldl -lm -lpcap else DPDK_LIBS = -l:libdpdk.a -ldl -lm -lpcap endif |