diff options
author | fanquake <fanquake@gmail.com> | 2021-11-27 16:20:47 +0800 |
---|---|---|
committer | fanquake <fanquake@gmail.com> | 2022-02-22 15:37:13 +0000 |
commit | 80e78b6a0479094cae642726f74a17d09b708ddc (patch) | |
tree | 2633d755f1ed6ab8c5941a73d9a5bcdc8b3e51da /src/test | |
parent | c44e734dca64a15fae92255a5d848c04adaad2fa (diff) |
build: pass win32-dll to LT_INIT()
This is the recommended way to support building PE DLLs with modern mingw
toolchains and libtool. I made a similar change upstream in the secp256k1
repo: https://github.com/bitcoin-core/secp256k1/pull/1022. Note that we already
pass `-no-undefined` to our libtool LDFLAGS.
> This option should be used if the package has been ported to build clean
> dlls on win32 platforms.
> If this macro is not used, libtool will assume that the package libraries
> are not dll clean and will build only static libraries on win32 hosts.
See:
https://www.gnu.org/software/libtool/manual/libtool.html#LT_005fINIT
https://www.gnu.org/software/gnulib/manual/html_node/Libtool-and-Windows.html
https://autotools.io/libtool/windows.html
https://github.com/bitcoin-core/secp256k1/issues/923
Diffstat (limited to 'src/test')
0 files changed, 0 insertions, 0 deletions