You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Configure fails with commit 88a960a codebase #1186
Describe the bug
Configure fails with commit 88a960a codebase producing the error message,
configure: ERROR: No wincng crypto library found!
Specify --with-crypto=$backend and/or the necessary library search prefix.
Known crypto backends: auto, openssl, libgcrypt, mbedtls, wincng, wolfssl
configure: error: Required dependencies are missing.
To Reproduce
executing the following command from the added subdirectory build and with $PREFIX exported to a known directory, CC=x86_64-w64-mingw32-gcc .././configure --build=x86_64-linux-gnu --host=x86_64-w64-mingw32 --prefix=$PREFIX --disable-shared --enable-static --with-crypto=wincng --with-libz-prefix=$PREFIX LIBS=-lws2_32
Expected behavior
The latest release version 1.11.0 of the library works fine with no configure errors. The cryto backend wincing is found and the library compiles as expected
Version (please complete the following information):
A workaround that might also work is dropping --with-crypto=wincng. WinCNG is the default for Windows targets, and cross-builds don't auto-detect other backends most of the time.
Activity
autotools: fix selecting wincng in cross-builds
vszakats commentedon Sep 21, 2023
Thanks for your report. This should be fixed by #1187.
vszakats commentedon Sep 21, 2023
A workaround that might also work is dropping
--with-crypto=wincng. WinCNG is the default for Windows targets, and cross-builds don't auto-detect other backends most of the time.autotools: fix selecting wincng in cross-builds (and more)
Squashed commit of the following:
Squashed commit of the following:
autotools: fix selecting wincng in cross-builds (and more)
autotools: fix selecting wincng in cross-builds (and more)