(Partial) attempt to fix the plugin detection issue on MacOS

This commit is contained in:
Matthias Koefferlein
2018-10-02 17:36:30 -07:00
parent c053e4f8ec
commit f7c4aa0348
3 changed files with 25 additions and 1 deletions
+2
View File
@@ -129,6 +129,8 @@ void init (const std::vector<std::string> &_paths)
#if defined(_WIN32)
pattern.set_case_sensitive (false);
pattern = std::string ("*.dll");
#elif defined(__APPLE__)
pattern = std::string ("*.dylib");
#else
pattern = std::string ("*.so");
#endif
+2
View File
@@ -130,6 +130,8 @@ void init (const std::vector<std::string> &_paths)
#if defined(_WIN32)
pattern.set_case_sensitive (false);
pattern = std::string ("*.dll");
#elif defined(__APPLE__)
pattern = std::string ("*.dylib");
#else
pattern = std::string ("*.so");
#endif