2020-04-24 23:36:52 +00:00
|
|
|
diff --git a/libfwupdplugin/meson.build b/libfwupdplugin/meson.build
|
2021-12-06 16:07:01 +00:00
|
|
|
index d6a2ed68..12c82a95 100644
|
2020-04-24 23:36:52 +00:00
|
|
|
--- a/libfwupdplugin/meson.build
|
|
|
|
+++ b/libfwupdplugin/meson.build
|
2021-12-06 16:07:01 +00:00
|
|
|
@@ -216,7 +216,8 @@ fwupdplugin = library(
|
2020-04-24 23:36:52 +00:00
|
|
|
],
|
|
|
|
link_args : vflag,
|
|
|
|
link_depends : fwupdplugin_mapfile,
|
|
|
|
- install : true
|
|
|
|
+ install : true,
|
|
|
|
+ install_dir : bindir / '..' / 'lib',
|
|
|
|
)
|
|
|
|
|
|
|
|
fwupdplugin_pkgg = import('pkgconfig')
|
2021-12-06 16:07:01 +00:00
|
|
|
@@ -276,7 +277,8 @@ if get_option('introspection')
|
|
|
|
girtargets,
|
2020-04-24 23:36:52 +00:00
|
|
|
fwupd_gir[0],
|
|
|
|
],
|
|
|
|
- install : true
|
|
|
|
+ install : true,
|
|
|
|
+ install_dir_typelib : bindir / '..' / 'lib' / 'girepository-1.0',
|
|
|
|
)
|
2021-12-06 16:07:01 +00:00
|
|
|
|
|
|
|
# Verify the map file is correct -- note we can't actually use the generated
|
2020-04-24 23:36:52 +00:00
|
|
|
diff --git a/meson.build b/meson.build
|
2021-12-06 16:07:01 +00:00
|
|
|
index 38aa36b0..3fb7e579 100644
|
2020-04-24 23:36:52 +00:00
|
|
|
--- a/meson.build
|
|
|
|
+++ b/meson.build
|
2021-12-06 16:07:01 +00:00
|
|
|
@@ -521,7 +521,7 @@ if build_standalone
|
2020-04-24 23:36:52 +00:00
|
|
|
if host_machine.system() == 'windows'
|
2021-12-06 16:07:01 +00:00
|
|
|
plugin_dir = 'fwupd-plugins-@0@'.format(libfwupdplugin_lt_current)
|
2020-04-24 23:36:52 +00:00
|
|
|
else
|
2021-12-06 16:07:01 +00:00
|
|
|
- plugin_dir = join_paths(libdir, 'fwupd-plugins-@0@'.format(libfwupdplugin_lt_current))
|
|
|
|
+ plugin_dir = join_paths(bindir, '..', 'lib', 'fwupd-plugins-@0@'.format(libfwupdplugin_lt_current))
|
2020-04-24 23:36:52 +00:00
|
|
|
endif
|
|
|
|
conf.set_quoted('FWUPD_PLUGINDIR', plugin_dir)
|
|
|
|
endif
|