From 404ed8013aaa226b0c2ccec009cf5b66877892bd Mon Sep 17 00:00:00 2001 From: Tomasz Duszynski Date: Fri, 21 Sep 2018 16:53:54 +0200 Subject: [PATCH] crypto/mvsam: fix shared library build Add missing rte_kvargs library dependency. Without that shared library build fails due to unresolved rte_kvargs_* symbols. Fixes: 25b05a1c806b ("crypto/mvsam: parse max number of sessions") Cc: stable@dpdk.org Signed-off-by: Tomasz Duszynski --- drivers/crypto/mvsam/Makefile | 2 +- drivers/crypto/mvsam/rte_mrvl_pmd.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/crypto/mvsam/Makefile b/drivers/crypto/mvsam/Makefile index c3dc72c198..329014792c 100644 --- a/drivers/crypto/mvsam/Makefile +++ b/drivers/crypto/mvsam/Makefile @@ -31,7 +31,7 @@ EXPORT_MAP := rte_pmd_mvsam_version.map # external library dependencies LDLIBS += -L$(LIBMUSDK_PATH)/lib -lmusdk -LDLIBS += -lrte_eal -lrte_mbuf -lrte_mempool +LDLIBS += -lrte_eal -lrte_mbuf -lrte_mempool -lrte_kvargs LDLIBS += -lrte_cryptodev LDLIBS += -lrte_bus_vdev diff --git a/drivers/crypto/mvsam/rte_mrvl_pmd.c b/drivers/crypto/mvsam/rte_mrvl_pmd.c index 9a85fd99ee..7e800a6943 100644 --- a/drivers/crypto/mvsam/rte_mrvl_pmd.c +++ b/drivers/crypto/mvsam/rte_mrvl_pmd.c @@ -11,6 +11,7 @@ #include #include #include +#include #include "rte_mrvl_pmd_private.h" -- 2.20.1