From: David Marchand Date: Thu, 17 Jan 2019 10:15:22 +0000 (+0100) Subject: test: fix build when disabling IPsec library X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=dc0e5bb3db86a8df90525d2f78cd3f22e885e54a;p=dpdk.git 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 --- 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