From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by dpdk.org (Postfix) with ESMTP id 184B09E4 for ; Thu, 17 Jan 2019 11:15:30 +0100 (CET) Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 4B40881F01; Thu, 17 Jan 2019 10:15:29 +0000 (UTC) Received: from dmarchan.remote.csb (ovpn-117-32.ams2.redhat.com [10.36.117.32]) by smtp.corp.redhat.com (Postfix) with ESMTP id 81E3F60BE5; Thu, 17 Jan 2019 10:15:27 +0000 (UTC) From: David Marchand To: dev@dpdk.org Cc: mohammad.abdul.awal@intel.com, bernard.iremonger@intel.com, konstantin.ananyev@intel.com, declan.doherty@intel.com, akhil.goyal@nxp.com Date: Thu, 17 Jan 2019 11:15:22 +0100 Message-Id: <1547720122-5835-1-git-send-email-david.marchand@redhat.com> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.27]); Thu, 17 Jan 2019 10:15:29 +0000 (UTC) Subject: [dpdk-dev] [PATCH] test: fix build when disabling ipsec library X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Jan 2019 10:15:30 -0000 Caught after pulling ipsec then compile in an existing build directory. Fixes: 05fe65eb66b2 ("test/ipsec: introduce functional test") Signed-off-by: David Marchand --- 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 -- 1.8.3.1