mirror of
https://github.com/KLayout/klayout.git
synced 2026-09-06 17:33:25 +02:00
(Partial) attempt to fix the plugin detection issue on MacOS
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user