summaryrefslogtreecommitdiffstats
path: root/src/vmspawn/meson.build
blob: 800d7c362c5b2b5143e4d3d8ba9b88fedf3f0ebd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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,
        }
]