Skip to content

Commit

Permalink
Merge pull request lxc#4459 from mihalicyn/lxc_nixos_build_fix2
Browse files Browse the repository at this point in the history
meson: fix build with -Dtools-multicall=true on NixOS
  • Loading branch information
stgraber authored Jun 26, 2024
2 parents 2b99fae + 01ae1fe commit 583a2df
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/lxc/tools/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ if want_tools
endif

if want_tools_multicall
tools_all_sources = files('lxc_multicall.c') + tools_common_sources_for_dynamic_link
tools_all_sources = files('lxc_multicall.c') + files('arguments.c', 'arguments.h')
foreach cmd : tools_commands
tools_all_sources += files('lxc_' + cmd + '.c')
endforeach
Expand All @@ -45,8 +45,8 @@ if want_tools_multicall
'lxc',
tools_all_sources,
include_directories: liblxc_includes,
dependencies: liblxc_dep,
link_with: [liblxc_static],
dependencies: liblxc_dependencies,
link_whole: [liblxc_static],
install: true)

if want_tools == false
Expand Down

0 comments on commit 583a2df

Please sign in to comment.