1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2024-12-22 13:33:56 +03: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.

(cherry picked from commit cc77a56532)
This commit is contained in:
Franck Bui 2022-11-15 09:04:42 +01:00 committed by Zbigniew Jędrzejewski-Szmek
parent 9b6f12262f
commit a09a41c2f7

View File

@ -3841,7 +3841,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])