From 93b1f90ae17425c496257bacb21d9699dd072cf3 Mon Sep 17 00:00:00 2001 From: Bruce Richardson Date: Mon, 4 Dec 2017 15:00:33 +0000 Subject: [PATCH] build: change default library type to static Now that we always build both static and shared libraries, the default library type only applies to apps and examples. To avoid issues with paths when doing actual development with DPDK, change the default app build to static. This makes sure that testpmd, and any examples built as part of a development build, are runnable without being installed. Signed-off-by: Bruce Richardson Acked-by: Luca Boccassi --- meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meson.build b/meson.build index df10f5f9e7..71a0c4f170 100644 --- a/meson.build +++ b/meson.build @@ -32,7 +32,7 @@ project('DPDK', 'C', version: '18.02.0', license: 'BSD', - default_options: ['buildtype=release'], + default_options: ['buildtype=release', 'default_library=static'], meson_version: '>= 0.41' ) -- 2.20.1