gnutls-3.5.18 static building for windows
Required libraries:
1. libnettle
2. gmplib
Optional libraries:
1. libtasn1-4.13
2. libunistring-0.9.9
./configure --prefix=/usr/local/
--disable-shared
--enable-static
config.h add
#define LC_MIN 0
#define LC_MAX 5
building gnutls-3.5.18
./configure --prefix=/usr/local/
--disable-shared
--enable-static
--enable-fast-install
--enable-local-libopts --disable-non-suiteb-curves --disable-doc --without-p11-kit
src/Makefile add
LIBS = -lintl
make -j4 && make install
https://files.cnblogs.com/files/nlsoft/gnutls-3.5.18-static-lib-mingw32.7z