devel/geany-plugins 0.18
[git/cygwin-packages/geany-plugins.git] / 0.18-g_module_build_path.patch
CommitLineData
ed8845a6 1--- origsrc/geany-plugins-0.18/geanylua/geanylua.c 2009-10-27 11:23:27.000000000 -0500
2+++ src/geany-plugins-0.18/geanylua/geanylua.c 2010-01-28 03:44:46.075895500 -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@@ -155,11 +155,11 @@ void plugin_init(GeanyData *data)
13 main_locale_init(LOCALEDIR, GETTEXT_PACKAGE);
14
15 geany_data=data;
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 ( !g_file_test(libname,G_FILE_TEST_IS_REGULAR) ) {
19 gchar *libdir=get_lib_dir();
20 g_free(libname);
21- libname=g_build_path(G_DIR_SEPARATOR_S, libdir, "geany-plugins", "geanylua", SUPPORT_LIB, NULL);
22+ libname=g_module_build_path(g_build_path(G_DIR_SEPARATOR_S, libdir, "geany-plugins", "geanylua", NULL), SUPPORT_LIB);
23 g_free(libdir);
24 }
25 if ( !g_file_test(libname,G_FILE_TEST_IS_REGULAR) ) {
This page took 0.0214 seconds and 5 git commands to generate.