mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-06 15:48:51 +00:00
Questioning whether MacOS libraries should be .dylib or .so
This commit is contained in:
@@ -401,6 +401,7 @@ int main(int argc, char **argv) {
|
|||||||
char *linker;
|
char *linker;
|
||||||
if (build_context.is_dll) {
|
if (build_context.is_dll) {
|
||||||
// Shared libraries are .dylib on MacOS and .so on Linux.
|
// Shared libraries are .dylib on MacOS and .so on Linux.
|
||||||
|
// TODO(zangent): Is that statement entirely truthful?
|
||||||
#if defined(GB_SYSTEM_OSX)
|
#if defined(GB_SYSTEM_OSX)
|
||||||
output_ext = ".dylib";
|
output_ext = ".dylib";
|
||||||
#else
|
#else
|
||||||
|
|||||||
Reference in New Issue
Block a user