From 0f8fb0a64c7b583ddfc8325e12ddf5475751bc86 Mon Sep 17 00:00:00 2001 From: Andy Spencer Date: Wed, 11 Nov 2009 09:58:07 +0000 Subject: [PATCH] Use G_MODULE_SUFFIX in gis-plugin --- src/gis-plugin.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gis-plugin.c b/src/gis-plugin.c index 57ad922..c638238 100644 --- a/src/gis-plugin.c +++ b/src/gis-plugin.c @@ -108,7 +108,7 @@ GList *gis_plugins_available(GisPlugins *self) g_debug(" checking %s", dirs[i]); const gchar *name; while ((name = g_dir_read_name(dir))) { - if (g_pattern_match_simple("*.so", name)) { + if (g_pattern_match_simple("*." G_MODULE_SUFFIX, name)) { gchar **parts = g_strsplit(name, ".", 2); list = g_list_prepend(list, g_strdup(parts[0])); g_strfreev(parts); -- 2.43.2