From 7b1adaa48a68370392c28b66a05829021e1a5f9e Mon Sep 17 00:00:00 2001 From: rbuj Date: Wed, 3 Feb 2021 15:05:19 +0100 Subject: build: define PLUMA_LIBDIR --- pluma/Makefile.am | 3 ++- pluma/pluma-plugins-engine.c | 2 +- 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, -- cgit v1.2.1