mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-05 07:08:48 +00:00
+2
-2
@@ -1504,11 +1504,11 @@ int main(int arg_count, char const **arg_ptr) {
|
|||||||
// Shared libraries are .dylib on MacOS and .so on Linux.
|
// Shared libraries are .dylib on MacOS and .so on Linux.
|
||||||
#if defined(GB_SYSTEM_OSX)
|
#if defined(GB_SYSTEM_OSX)
|
||||||
output_ext = STR_LIT(".dylib");
|
output_ext = STR_LIT(".dylib");
|
||||||
|
link_settings = "-dylib -dynamic";
|
||||||
#else
|
#else
|
||||||
output_ext = STR_LIT(".so");
|
output_ext = STR_LIT(".so");
|
||||||
|
link_settings = "-shared";
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
link_settings = "-shared";
|
|
||||||
} else {
|
} else {
|
||||||
// TODO: Do I need anything here?
|
// TODO: Do I need anything here?
|
||||||
link_settings = "";
|
link_settings = "";
|
||||||
|
|||||||
Reference in New Issue
Block a user