From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bruce Richardson Subject: [PATCH 3/3] examples/vhost_crypto: fix dependency on vhost library Date: Mon, 25 Feb 2019 15:23:04 +0000 Message-ID: <20190225152304.62607-4-bruce.richardson@intel.com> References: <20190225152304.62607-1-bruce.richardson@intel.com> Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Cc: Bruce Richardson , stable@dpdk.org To: dev@dpdk.org Return-path: In-Reply-To: <20190225152304.62607-1-bruce.richardson@intel.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" The vhost_crypto example app can't be used without the DPDK vhost library, so disable the build of the example if the lib hasn't been built. CC: stable@dpdk.org Fixes: f5188211c721 ("examples/vhost_crypto: add sample application") Signed-off-by: Bruce Richardson --- examples/vhost_crypto/meson.build | 1 + 1 file changed, 1 insertion(+) diff --git a/examples/vhost_crypto/meson.build b/examples/vhost_crypto/meson.build index daf19fb87..8e9860f03 100644 --- a/examples/vhost_crypto/meson.build +++ b/examples/vhost_crypto/meson.build @@ -6,6 +6,7 @@ # To build this example as a standalone application with an already-installed # DPDK instance, use 'make' +build = dpdk_conf.has('RTE_LIBRTE_VHOST') allow_experimental_apis = true deps += ['vhost', 'cryptodev'] cflags += ['-D_FILE_OFFSET_BITS=64'] -- 2.20.1