From: Jan Janssen Date: Thu, 20 Jan 2022 20:12:44 +0000 (+0100) Subject: meson: Add missing boot headers and use @INPUT@ for linking X-Git-Tag: v251-rc1~489 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1e11b6a76d84daabdf096a208cff7d2bde189025;p=thirdparty%2Fsystemd.git meson: Add missing boot headers and use @INPUT@ for linking --- 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)