geany-plugins 1.31
[git/cygwin-packages/geany-plugins.git] / 0.20-gmodule.patch
... / ...
CommitLineData
1--- origsrc/geany-plugins-0.20/geanylua/geanylua.c 2010-06-10 11:46:27.000000000 -0500
2+++ src/geany-plugins-0.20/geanylua/geanylua.c 2011-01-12 19:26:44.928374400 -0600
3@@ -42,7 +42,7 @@
4
5 #include "glspi_ver.h"
6
7-#define SUPPORT_LIB "libgeanylua." G_MODULE_SUFFIX
8+#define SUPPORT_LIB "geanylua"
9
10 #define CB_COPY(field) plugin_callbacks[i].field=glspi_geany_callbacks[i].field;
11
12@@ -200,12 +200,12 @@ void plugin_init(GeanyData *data)
13
14 geany_data=data;
15 /* first try the user config path */
16- libname=g_build_path(G_DIR_SEPARATOR_S, data->app->configdir, "plugins", "geanylua", SUPPORT_LIB, NULL);
17+ libname=g_module_build_path(g_build_path(G_DIR_SEPARATOR_S, data->app->configdir, "plugins", "geanylua", NULL), SUPPORT_LIB);
18 if (!load_support_lib(libname)) {
19 /* try the system path */
20 gchar *libdir=get_lib_dir();
21 g_free(libname);
22- libname=g_build_path(G_DIR_SEPARATOR_S, libdir, "geany-plugins", "geanylua", SUPPORT_LIB, NULL);
23+ libname=g_module_build_path(g_build_path(G_DIR_SEPARATOR_S, libdir, "geany-plugins", "geanylua", NULL), SUPPORT_LIB);
24 g_free(libdir);
25 if (!load_support_lib(libname)) {
26 g_printerr(_("%s: Can't find support library %s!\n"), PLUGIN_NAME, libname);
This page took 0.063031 seconds and 5 git commands to generate.