diff options
author | Jan Janssen <medhefgo@web.de> | 2021-12-29 15:13:35 +0100 |
---|---|---|
committer | Jan Janssen <medhefgo@web.de> | 2022-01-02 10:18:26 +0100 |
commit | 2f2b07226751827303a88f3a301f2d834f3fb97b (patch) | |
tree | a1425145a64578713466d559ab6585ce0e775a9f | |
parent | 52adf0e91ef00d21a2e83f7669d0823667ce6b6c (diff) | |
download | systemd-2f2b07226751827303a88f3a301f2d834f3fb97b.tar.gz |
meson: Get objcopy location from compiler
-rw-r--r-- | src/boot/efi/meson.build | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/boot/efi/meson.build b/src/boot/efi/meson.build index 912a1cdf3b..9b21452e91 100644 --- a/src/boot/efi/meson.build +++ b/src/boot/efi/meson.build @@ -43,7 +43,7 @@ if not cc.has_header_symbol('efi.h', 'EFI_IMAGE_MACHINE_X64', subdir_done() endif -objcopy = find_program('objcopy') +objcopy = run_command(cc.cmd_array(), '-print-prog-name=objcopy', check: true).stdout().strip() efi_ld = get_option('efi-ld') if efi_ld == 'auto' |