aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMikkel Hjortshøj <hoej@northwolfprod.com>2020-02-05 21:03:36 +0100
committerGitHub <noreply@github.com>2020-02-05 21:03:36 +0100
commit25feb507a422fbb3eba9f33851e0a990ab09b477 (patch)
tree6ec435615327070da241d94eed15c71007f13fc8 /src
parentfbe2366af34d077e9ddf8e1a3e0bfae4c1f586ab (diff)
parent0b299cb8b43b1382d81c8e1a2df14ca96c5921b2 (diff)
Merge pull request #556 from oskarnp/issue-555
Fix #555
Diffstat (limited to 'src')
-rw-r--r--src/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 317e8f577..338bb3f5f 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -1504,11 +1504,11 @@ int main(int arg_count, char const **arg_ptr) {
// Shared libraries are .dylib on MacOS and .so on Linux.
#if defined(GB_SYSTEM_OSX)
output_ext = STR_LIT(".dylib");
+ link_settings = "-dylib -dynamic";
#else
output_ext = STR_LIT(".so");
+ link_settings = "-shared";
#endif
-
- link_settings = "-shared";
} else {
// TODO: Do I need anything here?
link_settings = "";