summaryrefslogtreecommitdiffstats
path: root/src/vmspawn/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'src/vmspawn/meson.build')
-rw-r--r--src/vmspawn/meson.build27
1 files changed, 27 insertions, 0 deletions
diff --git a/src/vmspawn/meson.build b/src/vmspawn/meson.build
new file mode 100644
index 0000000..800d7c3
--- /dev/null
+++ b/src/vmspawn/meson.build
@@ -0,0 +1,27 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
+
+libvmspawn_core_sources = files(
+ 'vmspawn-settings.c',
+ 'vmspawn-util.c',
+)
+libvmspawn_core = static_library(
+ 'vmspawn-core',
+ libvmspawn_core_sources,
+ include_directories : includes,
+ dependencies : [userspace],
+ build_by_default : false)
+
+vmspawn_libs = [
+ libvmspawn_core,
+ libshared,
+]
+
+executables += [
+ executable_template + {
+ 'name' : 'systemd-vmspawn',
+ 'public' : true,
+ 'conditions': ['ENABLE_VMSPAWN'],
+ 'sources' : files('vmspawn.c'),
+ 'link_with' : vmspawn_libs,
+ }
+]