nixpkgs/pkgs/by-name/fw/fwupd/efi-app-path.patch
2024-01-24 20:29:08 +01:00

14 lines
461 B
Diff

diff --git a/meson.build b/meson.build
index b18108c74..7e674b4d2 100644
--- a/meson.build
+++ b/meson.build
@@ -404,7 +404,7 @@ endif
# EFI
if build_standalone
- efi_app_location = join_paths(libexecdir, 'fwupd', 'efi')
+ efi_app_location = join_paths(dependency('fwupd-efi').get_variable(pkgconfig: 'prefix'), 'libexec', 'fwupd', 'efi')
conf.set_quoted('EFI_APP_LOCATION', efi_app_location)
if host_cpu == 'x86'
EFI_MACHINE_TYPE_NAME = 'ia32'