0
Fork 0
mirror of https://codeberg.org/ziglang/zig synced 2026-11-18 07:05:05 +00:00

Patch lld to have a more sensible kill-at implementation

Lift some code from llvm-dlltool, the lld code is meant to follow what
gnu ld does but that's not much useful for our purposes.

Also use the `--kill-at` option when generating the .lib files out of
mingw's .def files: this way our building process closely matches the
one use by the upstream and now finally generates files that allow both
C code and Zig code to link.
This commit is contained in:
LemonBoy 2019-10-09 22:41:38 +02:00
commit 86e5bbffd7
2 changed files with 21 additions and 4 deletions