build: change default library type to static
authorBruce Richardson <bruce.richardson@intel.com>
Mon, 4 Dec 2017 15:00:33 +0000 (15:00 +0000)
committerBruce Richardson <bruce.richardson@intel.com>
Tue, 30 Jan 2018 20:58:59 +0000 (21:58 +0100)
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>
meson.build

index df10f5f..71a0c4f 100644 (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'
 )