From dc0e5bb3db86a8df90525d2f78cd3f22e885e54a Mon Sep 17 00:00:00 2001 From: David Marchand Date: Thu, 17 Jan 2019 11:15:22 +0100 Subject: [PATCH] test: fix build when disabling IPsec library Caught after pulling ipsec then compile in an existing build directory. Fixes: 05fe65eb66b2 ("test/ipsec: introduce functional test") Signed-off-by: David Marchand Acked-by: Konstantin Ananyev --- test/test/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/test/Makefile b/test/test/Makefile index e7c8108f2b..5641a59f37 100644 --- a/test/test/Makefile +++ b/test/test/Makefile @@ -208,7 +208,9 @@ SRCS-$(CONFIG_RTE_LIBRTE_KVARGS) += test_kvargs.c SRCS-$(CONFIG_RTE_LIBRTE_BPF) += test_bpf.c SRCS-$(CONFIG_RTE_LIBRTE_IPSEC) += test_ipsec.c +ifeq ($(CONFIG_RTE_LIBRTE_IPSEC),y) LDLIBS += -lrte_ipsec +endif CFLAGS += -DALLOW_EXPERIMENTAL_API -- 2.20.1