From 00fe26ba32397170225a1346c77c2b24ce6b49d5 Mon Sep 17 00:00:00 2001 From: Matthias Vogelgesang Date: Wed, 10 Feb 2016 14:37:22 +0100 Subject: Use platform check to find correct plugin --- src/uca-plugin-manager.c | 4 ++++ 1 file changed, 4 insertions(+) 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)) { -- cgit v1.2.1