]> git.proxmox.com Git - mirror_lxcfs.git/commitdiff
meson: use shared_module()
authorChristian Brauner <christian.brauner@ubuntu.com>
Tue, 19 Oct 2021 08:19:09 +0000 (10:19 +0200)
committerChristian Brauner <christian.brauner@ubuntu.com>
Tue, 19 Oct 2021 12:43:42 +0000 (14:43 +0200)
The liblxcfs library is supposed to be dlopen()ed.

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
meson.build

index b9a108a6c61800640e22fcc9958f448d60391774..557bc38ca574e9c8d3d6f68ad7323a4c29c16ac5 100644 (file)
@@ -199,9 +199,9 @@ liblxcfs_sources = files(
 
 liblxcfs_common_dependencies = declare_dependency(
        sources: liblxcfs_sources,
-       dependencies: [threads, libdl, libfuse])
+       dependencies: [threads, libfuse])
 
-liblxcfs = shared_library(
+liblxcfs = shared_module(
         'lxcfs',
         liblxcfs_sources,
         dependencies : liblxcfs_common_dependencies,
@@ -209,7 +209,7 @@ liblxcfs = shared_library(
         install_dir : lxcfsdir)
 
 if want_tests == true
-       liblxcfs_test = shared_library(
+       liblxcfs_test = shared_module(
                'lxcfstest',
                liblxcfs_sources,
                dependencies : liblxcfs_common_dependencies,