diff options
Diffstat (limited to 'extern/audaspace/src/plugin/PluginManagerUnix.cpp.in')
-rw-r--r-- | extern/audaspace/src/plugin/PluginManagerUnix.cpp.in | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/extern/audaspace/src/plugin/PluginManagerUnix.cpp.in b/extern/audaspace/src/plugin/PluginManagerUnix.cpp.in index d08804bc2e7..3ab24986a0c 100644 --- a/extern/audaspace/src/plugin/PluginManagerUnix.cpp.in +++ b/extern/audaspace/src/plugin/PluginManagerUnix.cpp.in @@ -83,7 +83,12 @@ void PluginManager::loadPlugins(const std::string& path) while(dirent* entry = readdir(dir)) { const std::string filename = entry->d_name; + +#ifdef __APPLE__ + const std::string end = ".dylib"; +#else const std::string end = ".so"; +#endif if(filename.length() >= end.length() && filename.substr(filename.length() - end.length()) == end) { |