nixpkgs/pkgs/by-name/fw/fwupd/efi-app-path.patch

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

14 lines
461 B
Diff
Raw Normal View History

2021-12-03 18:59:15 +00:00
diff --git a/meson.build b/meson.build
index b18108c74..7e674b4d2 100644
2021-12-03 18:59:15 +00:00
--- a/meson.build
+++ b/meson.build
@@ -404,7 +404,7 @@ endif
# EFI
if build_standalone
2021-12-03 18:59:15 +00:00
- efi_app_location = join_paths(libexecdir, 'fwupd', 'efi')
2023-01-22 02:16:58 +00:00
+ efi_app_location = join_paths(dependency('fwupd-efi').get_variable(pkgconfig: 'prefix'), 'libexec', 'fwupd', 'efi')
2021-12-03 18:59:15 +00:00
conf.set_quoted('EFI_APP_LOCATION', efi_app_location)
if host_cpu == 'x86'
EFI_MACHINE_TYPE_NAME = 'ia32'