about summary refs log tree commit diff
path: root/pkgs/by-name/fw/fwupd/install-fwupdplugin-to-out.patch
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/by-name/fw/fwupd/install-fwupdplugin-to-out.patch')
-rw-r--r--pkgs/by-name/fw/fwupd/install-fwupdplugin-to-out.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/pkgs/by-name/fw/fwupd/install-fwupdplugin-to-out.patch b/pkgs/by-name/fw/fwupd/install-fwupdplugin-to-out.patch
new file mode 100644
index 0000000000000..e6269ae840bb9
--- /dev/null
+++ b/pkgs/by-name/fw/fwupd/install-fwupdplugin-to-out.patch
@@ -0,0 +1,14 @@
+diff --git a/meson.build b/meson.build
+index 9ae278b66..7cddf1a0d 100644
+--- a/meson.build
++++ b/meson.build
+@@ -507,7 +507,7 @@ if build_standalone
+ if host_machine.system() == 'windows'
+   libdir_pkg = 'fwupd-@0@'.format(fwupd_version)
+ else
+-  libdir_pkg = join_paths(libdir, 'fwupd-@0@'.format(fwupd_version))
++  libdir_pkg = join_paths(prefix, 'lib', 'fwupd-@0@'.format(fwupd_version))
+ endif
+ conf.set_quoted('FWUPD_LIBDIR_PKG', libdir_pkg)
+ endif
+