summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pluma/Makefile.am3
-rw-r--r--pluma/pluma-plugins-engine.c2
2 files changed, 3 insertions, 2 deletions
diff --git a/pluma/Makefile.am b/pluma/Makefile.am
index ef30f56e..1dc9403c 100644
--- a/pluma/Makefile.am
+++ b/pluma/Makefile.am
@@ -15,7 +15,8 @@ AM_CPPFLAGS = \
-DDATADIR=\""$(datadir)"\" \
-DPLUMA_DATADIR=\""$(datadir)/pluma"\" \
-DPLUMA_LOCALEDIR=\""$(datadir)/locale/"\" \
- -DLIBDIR=\""$(libdir)"\"
+ -DLIBDIR=\""$(libdir)"\" \
+ -DPLUMA_LIBDIR=\""$(libdir)/pluma"\"
pluma_SOURCES = \
pluma.c
diff --git a/pluma/pluma-plugins-engine.c b/pluma/pluma-plugins-engine.c
index 1c8407a3..321c0617 100644
--- a/pluma/pluma-plugins-engine.c
+++ b/pluma/pluma-plugins-engine.c
@@ -93,7 +93,7 @@ pluma_plugins_engine_init (PlumaPluginsEngine *engine)
pluma_dirs_get_user_plugins_dir ());
peas_engine_add_search_path (PEAS_ENGINE (engine),
- LIBDIR "/pluma/plugins",
+ PLUMA_LIBDIR "/plugins",
PLUMA_DATADIR "/plugins");
g_settings_bind (engine->priv->plugin_settings,