depot/third_party/nixpkgs/pkgs/os-specific/linux/firmware/fwupd/efi-app-path.patch
Default email 9c6ee729d6 Project import generated by Copybara.
GitOrigin-RevId: 6cee3b5893090b0f5f0a06b4cf42ca4e60e5d222
2023-07-15 19:15:38 +02:00

13 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'