]> git.proxmox.com Git - mirror_lxc.git/commitdiff
meson: Include the /var paths
authorStéphane Graber <stgraber@ubuntu.com>
Sun, 1 May 2022 10:04:57 +0000 (12:04 +0200)
committerStéphane Graber <stgraber@ubuntu.com>
Sun, 1 May 2022 10:05:08 +0000 (12:05 +0200)
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
meson.build

index 17b2dd1306dc0c2ff6956c60a7eff14966dd31f2..b419cf3ecca612c3831684d96f42a98209f29acd 100644 (file)
@@ -16,7 +16,7 @@ project(
         'c_std=gnu11',
         'warning_level=2',
     ],
-    meson_version: '>= 0.50')
+    meson_version: '>= 0.60')
 
 cc = meson.get_compiler('c')
 pkgconfig = import('pkgconfig')
@@ -616,6 +616,10 @@ pkg_config_file = pkgconfig.generate(liblxc,
     install_dir: join_paths(libdir, 'pkgconfig')
 )
 
+# Empty dirs.
+install_emptydir(join_paths(localstatedir, 'cache', 'lxc'))
+install_emptydir(join_paths(localstatedir, 'lib', 'lxc'))
+
 # Build overview.
 status = [
     '@0@ @1@'.format(meson.project_name(), meson.project_version()),