https://bugs.winehq.org/show_bug.cgi?id=46589
Bug ID: 46589 Summary: configure --without-gnutls cause link error Product: Wine Version: 4.1 Hardware: x86 OS: Linux Status: NEW Severity: normal Priority: P2 Component: build-env Assignee: wine-bugs@winehq.org Reporter: leslie_alistair@hotmail.com Distribution: ---
When gnutls cannot be found, either explicitly or not, then the following linker errors occur.
/usr/bin/ld: bcrypt_main.o: in function `BCryptGenerateKeyPair': /home/alesliehughes/wine/dlls/bcrypt/bcrypt_main.c:1196: undefined reference to `key_asymmetric_init' /usr/bin/ld: bcrypt_main.o: in function `BCryptFinalizeKeyPair': /home/alesliehughes/wine/dlls/bcrypt/bcrypt_main.c:1213: undefined reference to `key_asymmetric_generate' /usr/bin/ld: bcrypt.dll.so: hidden symbol `key_asymmetric_generate' isn't defined
The regression was caused by one/both of the following commits. bcrypt: Move GnuTLS support to a new file. 018b695efaaa347e52e6b63ffcfa66f6551333aa
bcrypt: Move macOS support to a new file. d265dd88cd93ce6ffe56c9cfd640b064d7c14e29