summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/uca-plugin-manager.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/uca-plugin-manager.c b/src/uca-plugin-manager.c
index 4961577..dc69227 100644
--- a/src/uca-plugin-manager.c
+++ b/src/uca-plugin-manager.c
@@ -196,7 +196,11 @@ find_camera_module_path (GList *search_paths, const gchar *name)
gchar *modname;
GList *paths;
+#ifdef _WIN32
+ modname = g_strdup_printf ("libuca%s.dll", name);
+#else
modname = g_strdup_printf ("libuca%s.so", name);
+#endif
paths = scan_search_paths (search_paths);
for (GList *it = g_list_first (paths); it != NULL; it = g_list_next (it)) {