Files
Odin/src
Tetralux 140bb3ebfc Fix -build-mode:shared type table on Unix
Fixes #527.

Previously on Linux, '__$startup_runtime', the procedure that
initializes the type table for runtime typeids, was NOT called when
a shared library was loaded by the dynamic loader.

This caused the library to not have its type table populated, which
caused an assert to fail if you tried to use runtime typeids - like
core:fmt, for example.

This commit fixes this by calling ld instead of clang, when building a
shared library, so that we can pass "-init '__$startup_runtime'" to it,
when building a shared library.

Try as I might, I could not get clang to correctly pass through
the linker flags that I wanted.
2020-11-06 20:44:11 +00:00
..
2020-06-10 15:09:04 +01:00
2020-05-30 16:45:49 +01:00
2020-06-16 16:21:44 +01:00
2018-06-17 10:58:59 +01:00
2020-05-30 16:45:49 +01:00
2020-10-24 16:32:37 +01:00
2020-10-24 16:32:37 +01:00
2019-10-26 14:29:04 +01:00
2019-09-03 22:11:21 +01:00
2019-11-10 21:49:02 +00:00
2020-10-24 16:32:37 +01:00