File tree Expand file tree Collapse file tree 1 file changed +10
-5
lines changed Expand file tree Collapse file tree 1 file changed +10
-5
lines changed Original file line number Diff line number Diff line change @@ -56,12 +56,17 @@ std::string systemLibraryPrefix()
56
56
57
57
std::string systemLibrarySuffix ()
58
58
{
59
- #if !defined(WIN32)
60
- return Poco::SharedLibrary::suffix ();
61
- #else
62
- // Return just .dll , as Poco::SharedLibrary::suffix() will return d.dll in debug mode.
63
- // This isn't common for our usecase (instead debug libraries are placed in a `Debug` folder).
59
+ // Poco should be compiled with `#define POCO_NO_SHARED_LIBRARY_DEBUG_SUFFIX`
60
+ // to automatically remove the trailing `d` from the shared library suffix
61
+ // return Poco::SharedLibrary::suffix();
62
+ #ifdef __linux__
63
+ return " .so" ;
64
+ #elif __APPLE__
65
+ return " .dylib" ;
66
+ #elif _WIN32
64
67
return " .dll" ;
68
+ #else
69
+ return Poco::SharedLibrary::suffix ();
65
70
#endif
66
71
}
67
72
You can’t perform that action at this time.
0 commit comments