G-Ey3dr wrote:
Wget1.21 fails to build on MinGW(Windows). Is it okay to not use getrandom() roughly?C:/msys32/mingw32/bin/../lib/gcc/i686-w64-mingw32/10.2.0/../../../../i686-w64-mingw32/bin/ld.exe: ../lib/libgnu.a(getrandom.o): in function `getrandom': C:\home\user3\src\wget-1.21/lib\getrandom.c:129: undefined reference to `BCryptGenRandom@16' collect2.exe: error: ld returned 1 exit status
Why not simply link with 'libbcrypt.a'? -- --gv