diff mbox series

[2/3] meson: build plugins as modules

Message ID 20230831100438.3946997-2-ross.burton@arm.com (mailing list archive)
State Superseded
Headers show
Series [1/3] meson: add option to disable documentation | expand

Commit Message

Ross Burton Aug. 31, 2023, 10:04 a.m. UTC
From: Ross Burton <ross.burton@arm.com>

Don't build the plugins with library() as that will install both static
libraries and versioned shared libraries.  Plugins are shared_modules().

Signed-off-by: Ross Burton <ross.burton@arm.com>
---
 plugins/meson.build | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/plugins/meson.build b/plugins/meson.build
index 74ad664..4919be4 100644
--- a/plugins/meson.build
+++ b/plugins/meson.build
@@ -19,11 +19,10 @@  plugins = [
 
 pdeps = []
 foreach plugin : plugins
-    pdeps += library(
+    pdeps += shared_module(
         plugin.replace('.c', ''),
         plugin,
         name_prefix: '',
-        version: library_version,
         dependencies: [libtraceevent_dep],
         include_directories: [incdir],
         install: true,