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