mirror of
https://github.com/systemd/systemd
synced 2024-07-21 10:17:21 +00:00
meson: install test-kernel-install only when -Dkernel-install=true
This patch fixes the following build failure: meson.build:3853:8: ERROR: Unknown variable "test_kernel_install_sh". Fixes #25432.
This commit is contained in:
parent
4e8172c88a
commit
cc77a56532
|
@ -3968,7 +3968,7 @@ exe = custom_target(
|
|||
install_dir : bindir)
|
||||
public_programs += exe
|
||||
|
||||
if want_tests != 'false'
|
||||
if want_tests != 'false' and want_kernel_install
|
||||
test('test-kernel-install',
|
||||
test_kernel_install_sh,
|
||||
args : [exe.full_path(), loaderentry_install])
|
||||
|
|
Loading…
Reference in a new issue