summary refs log tree commit diff
path: root/pkgs/os-specific/linux/firmware/fwupd/efi-app-path.patch
blob: a91adc1a69b9b4cbfdfd9892adc35084d90893c7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
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'