[dpdk-dev] [PATCH 4/6] build: change default library type to static

Bruce Richardson bruce.richardson at intel.com
Tue Dec 12 17:59:38 CET 2017


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 <bruce.richardson at intel.com>
---
 meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meson.build b/meson.build
index 28d37ff7a..35d303d5a 100644
--- a/meson.build
+++ b/meson.build
@@ -32,7 +32,7 @@
 project('DPDK', 'C',
 	version: '17.11.0',
 	license: 'BSD',
-	default_options: ['buildtype=release'],
+	default_options: ['buildtype=release', 'default_library=static'],
 	meson_version: '>= 0.41'
 )
 
-- 
2.14.3



More information about the dev mailing list