From 1e11b6a76d84daabdf096a208cff7d2bde189025 Mon Sep 17 00:00:00 2001 From: Jan Janssen Date: Thu, 20 Jan 2022 21:12:44 +0100 Subject: [PATCH] meson: Add missing boot headers and use @INPUT@ for linking --- src/boot/efi/meson.build | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/src/boot/efi/meson.build b/src/boot/efi/meson.build index 0f14b9ccb75..22485f6581f 100644 --- a/src/boot/efi/meson.build +++ b/src/boot/efi/meson.build @@ -317,11 +317,13 @@ efi_headers = files( 'disk.h', 'drivers.h', 'graphics.h', + 'initrd.h', 'linux.h', 'measure.h', 'missing_efi.h', 'pe.h', 'random-seed.h', + 'secure-boot.h', 'shim.h', 'splash.h', 'util.h', @@ -404,7 +406,14 @@ foreach tuple : [['systemd_boot.so', systemd_boot_efi_name, systemd_boot_objects tuple[0], input : tuple[2], output : tuple[0], - command : [cc.cmd_array(), '-o', '@OUTPUT@', efi_ldflags, efi_cflags, tuple[2], '-lefi', '-lgnuefi', '-lgcc'], + command : [cc.cmd_array(), + '-o', '@OUTPUT@', + efi_cflags, + efi_ldflags, + '@INPUT@', + '-lefi', + '-lgnuefi', + '-lgcc'], install : tuple[3], install_dir : bootlibdir) -- 2.47.3