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 <bruce.richardson@intel.com>
Acked-by: Luca Boccassi <bluca@debian.org>
This commit is contained in:
Bruce Richardson 2017-12-04 15:00:33 +00:00
parent 3e5c3d58e1
commit 93b1f90ae1

View File

@ -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'
)