common: Use '.dylib' for DLL_SUFFIX on MacOS

This commit is contained in:
Solomon Peachy 2022-05-26 12:42:51 -04:00
parent 26f766c129
commit 05e628e693
1 changed files with 3 additions and 1 deletions

View File

@ -380,8 +380,10 @@ extern const struct dyesub_backend BACKEND;
#define DL_CLOSE(__x) do {} while(0)
#define DL_EXIT() do {} while(0)
#endif
#ifdef _WIN32
#if defined(_WIN32)
#define DLL_SUFFIX ".dll"
#elif defined(__APPLE__)
#define DLL_SUFFIX ".dylib"
#else
#define DLL_SUFFIX ".so"
#endif