mirror of https://github.com/tinygo-org/tinygo.git
Browse Source
Static libraries should be added at the end of the linker command, after all object files. If that isn't done, that's _usually_ not a problem, unless there are duplicate symbols. In that case, weird dependency issues can arise. To solve that, object files (that may include symbols to override symbols in the library) should be listed first on the command line and then the static libraries should be listed. This fixes an issue with overriding some symbols in wasi-libc.pull/2002/head
Ayke van Laethem
3 years ago
committed by
Ron Evans
1 changed files with 26 additions and 24 deletions
Loading…
Reference in new issue