[dpdk-dev] [PATCH] test: fix build when disabling ipsec library

Ananyev, Konstantin konstantin.ananyev at intel.com
Thu Jan 17 13:20:06 CET 2019



> -----Original Message-----
> From: David Marchand [mailto:david.marchand at redhat.com]
> Sent: Thursday, January 17, 2019 10:15 AM
> To: dev at dpdk.org
> Cc: Awal, Mohammad Abdul <mohammad.abdul.awal at intel.com>; Iremonger, Bernard <bernard.iremonger at intel.com>; Ananyev,
> Konstantin <konstantin.ananyev at intel.com>; Doherty, Declan <declan.doherty at intel.com>; akhil.goyal at nxp.com
> 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 <david.marchand at redhat.com>
> ---
> Did a simple fix, we might want to have something like a _LDLIBS-y
> variable but that's just cosmetic.
> 
> ---
>  test/test/Makefile | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/test/test/Makefile b/test/test/Makefile
> index e7c8108..5641a59 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
> 
> --

Acked-by: Konstantin Ananyev <konstantin.ananyev at intel.com>

> 1.8.3.1



More information about the dev mailing list