diff --git a/src/backend/plugin_manager.cc b/src/backend/plugin_manager.cc index 06cbf51..5b91d2b 100644 --- a/src/backend/plugin_manager.cc +++ b/src/backend/plugin_manager.cc @@ -54,7 +54,8 @@ PluginManager::rescan_dirs() GlobalPreferences& prefs = GlobalPreferences::get_instance(); GlobalPreferences::dir_iterator it = prefs.modules_dir_begin(); - Glib::PatternSpec shared_obj("*.so"); + + Glib::PatternSpec shared_obj(Glib::ustring("*.") + G_MODULE_SUFFIX); while(it != prefs.modules_dir_end()) {