src/local-link.h


Log

Author Commit Date CI Message
Guillem Jover 6b3f9f75 2021-01-02T16:26:38 build: Provide wrapper functions instead of aliases in DLL built with MSVC On Windows we cannot use proper aliases, and using the /EXPORT linker flag is too cumbersome, as it does not work when static linking, and when dynamic linking it does not make the aliases visible within the DLL itself. Just use normal function wrapper in those cases, which are way more maintainable.
Guillem Jover bd364c6d 2019-08-28T11:30:29 Switch SHA2 symbols from weak to strong aliases There is no good reason to have these as weak symbols at all. And it makes building on Windows (Cygwin, MinGW) harder as it does not support weak symbols. Based-on-patch-by: Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com> Signed-off-by: Guillem Jover <guillem@hadrons.org>
Guillem Jover 9cc93845 2019-08-28T11:19:37 Import local-link header from libbsd This provides several macros for versioned symbols and linking magic.