[PATCH] src/meson: add module name_suffix as 'so'

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

 



driver.c and locking/lock_manager.c both hardcode ".so" to
module filenames.  In meson, MacOS bundles (loadable objects)
default to using ".dylib" - adding name_suffix as "so" will
therefore align the code with all builds (no need to handle
windows as it doesn't support libvirtd).

Signed-off-by: Scott Shambarger <scott-libvirt@xxxxxxxxxxxxxx>
---
 src/meson.build | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/meson.build b/src/meson.build
index 73ac99f01e..73986401c9 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -567,6 +567,7 @@ foreach module : virt_modules
     module['name'],
     module.get('sources', []),
     name_prefix: module.get('name_prefix', 'lib'),
+    name_suffix: 'so',
     include_directories: [
       conf_inc_dir,
       module.get('include', []),
-- 
2.24.3 (Apple Git-128)





[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux