(lib)curl NTLM support

I recompiled LEDE, and wanted to add NTLM support for curl.

I have this in .config (only relevant, and enabled parts):

CONFIG_PACKAGE_libcurl=y

CONFIG_LIBCURL_MBEDTLS=y

CONFIG_LIBCURL_FILE=y
CONFIG_LIBCURL_FTP=y
CONFIG_LIBCURL_HTTP=y
CONFIG_LIBCURL_COOKIES=y
[...]
CONFIG_LIBCURL_NO_SMB="!"
[...]

CONFIG_LIBCURL_PROXY=y
CONFIG_LIBCURL_CRYPTO_AUTH=y
[...]
CONFIG_LIBCURL_NTLM=y

Yet, when I say curl --ntlm [...] I get this:

curl: option --ntlm: the installed libcurl version doesn't support this
curl: try 'curl --help' for more information

Any help is appreciated.

Thank you,
Levente

Answering my own question. It only works, if you select OpenSSL as the SSL library.