depot/third_party/nixpkgs/pkgs/os-specific/linux/firmware/fwupd/efi-app-path.patch
Default email 3a4df29a92 Project import generated by Copybara.
GitOrigin-RevId: 3d7435c638baffaa826b85459df0fff47f12317d
2022-06-16 19:23:12 +02:00

13 lines
497 B
Diff

diff --git a/meson.build b/meson.build
index b91dd037..01d70a61 100644
--- a/meson.build
+++ b/meson.build
@@ -413,7 +413,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_pkgconfig_variable('prefix'), 'libexec', 'fwupd', 'efi')
conf.set_quoted('EFI_APP_LOCATION', efi_app_location)
if host_cpu == 'x86'