depot/third_party/nixpkgs/pkgs/os-specific/linux/firmware/fwupd/efi-app-path.patch

14 lines
500 B
Diff
Raw Normal View History

diff --git a/meson.build b/meson.build
index 7ac8c937a..5a23d0c80 100644
--- a/meson.build
+++ b/meson.build
@@ -419,7 +419,7 @@ if build_standalone and efiboot.found() and efivar.found()
conf.set('HAVE_EFI_TIME_T', '1')
endif
- 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'