aboutsummaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/plugin-lib/Makefile.am1
-rw-r--r--modules/plugin-lib/e-plugin-lib.c6
2 files changed, 6 insertions, 1 deletions
diff --git a/modules/plugin-lib/Makefile.am b/modules/plugin-lib/Makefile.am
index 73c4c8f673..b958a9ab42 100644
--- a/modules/plugin-lib/Makefile.am
+++ b/modules/plugin-lib/Makefile.am
@@ -4,6 +4,7 @@ libevolution_module_plugin_lib_la_CPPFLAGS = \
$(AM_CPPFLAGS) \
-DG_LOG_DOMAIN=\"evolution-plugin-lib\" \
-I$(top_srcdir) \
+ -DEVOLUTION_PREFIX=\""$(prefix)"\" \
$(E_UTIL_CFLAGS)
libevolution_module_plugin_lib_la_SOURCES = \
diff --git a/modules/plugin-lib/e-plugin-lib.c b/modules/plugin-lib/e-plugin-lib.c
index 7b72053e45..1cade4b06d 100644
--- a/modules/plugin-lib/e-plugin-lib.c
+++ b/modules/plugin-lib/e-plugin-lib.c
@@ -21,6 +21,10 @@
#include "e-plugin-lib.h"
+#ifdef G_OS_WIN32
+#include <libedataserver/e-data-server-util.h> /* for e_util_replace_prefix() */
+#endif
+
#include <string.h>
static gpointer parent_class;
@@ -122,7 +126,7 @@ plugin_lib_construct (EPlugin *plugin, xmlNodePtr root)
#ifdef G_OS_WIN32
{
gchar *mapped_location =
- e_util_rplugin_libace_prefix (EVOLUTION_PREFIX,
+ e_util_replace_prefix (EVOLUTION_PREFIX,
e_util_get_prefix (),
plugin_lib->location);
g_free (plugin_lib->location);