summaryrefslogtreecommitdiff
path: root/meson.build
diff options
context:
space:
mode:
authorBruce Richardson <bruce.richardson@intel.com>2017-12-04 15:00:33 +0000
committerBruce Richardson <bruce.richardson@intel.com>2018-01-30 21:58:59 +0100
commit93b1f90ae17425c496257bacb21d9699dd072cf3 (patch)
tree14d8e9259877857ad20edf28de2d6834af4c5899 /meson.build
parent3e5c3d58e1dbbcdc803ca87ebf1d26129645d70a (diff)
downloaddpdk-93b1f90ae17425c496257bacb21d9699dd072cf3.zip
dpdk-93b1f90ae17425c496257bacb21d9699dd072cf3.tar.gz
dpdk-93b1f90ae17425c496257bacb21d9699dd072cf3.tar.xz
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>
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/meson.build b/meson.build
index df10f5f..71a0c4f 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'
)