]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
meson: Add lxc-attach
authorStéphane Graber <stgraber@ubuntu.com>
Sun, 1 May 2022 08:21:50 +0000 (10:21 +0200)
committerStéphane Graber <stgraber@ubuntu.com>
Sun, 1 May 2022 08:24:33 +0000 (10:24 +0200)
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
src/lxc/tools/meson.build

index d42dd3ef789b7a390b1230aed4041340d33e7865..73cccfc32d1685f60b8c35fc6fcab87962536235 100644 (file)
@@ -109,6 +109,9 @@ tools_common_sources = files(
     '../log.h',
     '../log.c') + include_sources + netns_ifaddrs_sources
 
+tools_lxc_attach_sources = files(
+    'lxc_attach.c') + tools_common_sources
+
 tools_lxc_autostart_sources = files(
     'lxc_autostart.c') + tools_common_sources
 
@@ -172,6 +175,13 @@ tools_lxc_unshare_sources = files(
 tools_lxc_wait_sources = files(
     'lxc_wait.c') + tools_common_sources
 
+public_programs += executable(
+    'lxc-attach',
+    tools_lxc_attach_sources,
+    include_directories: tools_liblxc_includes,
+    dependencies: liblxc_dep,
+    install: true)
+
 public_programs += executable(
     'lxc-autostart',
     tools_lxc_autostart_sources,