1diff --git a/meson.build b/meson.build
2index d0f00e5..977d2e2 100644
3--- a/meson.build
4+++ b/meson.build
5@@ -25,6 +25,7 @@ vapi_dir = meson.current_source_dir() / 'vapi'
6 locale_dir = join_paths(get_option('prefix'), get_option('localedir'))
7 data_dir = join_paths(get_option('prefix'), get_option('datadir'))
8 plugins_dir = join_paths(get_option('prefix'), get_option('libdir'), meson.project_name(), 'plugins')
9+plugins_dir_for_build = join_paths('/run/current-system/sw/lib/', meson.project_name(), 'plugins')
10 pkgdata_dir = join_paths(get_option('prefix'), get_option('datadir'), meson.project_name())
11 pkglib_dir = join_paths(get_option('prefix'), get_option('libdir'), meson.project_name())
12
13@@ -33,7 +34,7 @@ conf.set_quoted('GETTEXT_PACKAGE', meson.project_name())
14 conf.set_quoted('LOCALEDIR', locale_dir)
15 conf.set_quoted('DATADIR', data_dir)
16 conf.set_quoted('PKGDATADIR', pkgdata_dir)
17-conf.set_quoted('PLUGINDIR', plugins_dir)
18+conf.set_quoted('PLUGINDIR', plugins_dir_for_build)
19 conf.set_quoted('RESOURCEPATH', '/org/pantheon/desktop/gala')
20 conf.set_quoted('VERSION', gala_version)
21 conf.set_quoted('SCHEMA', 'org.pantheon.desktop.gala')