[PATCH 2/3] meson: build plugins as modules

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Ross Burton <ross.burton@xxxxxxx>

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@xxxxxxx>
---
 plugins/meson.build | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

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,
-- 
2.34.1




[Index of Archives]     [Linux USB Development]     [Linux USB Development]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux