]> git.ipfire.org Git - thirdparty/curl.git/commit
Makefile.m32: fix to not require OpenSSL with -libssh2 or -rtmp options
authorViktor Szakats <commit@vsz.me>
Mon, 25 Oct 2021 19:10:55 +0000 (19:10 +0000)
committerViktor Szakats <commit@vsz.me>
Mon, 25 Oct 2021 19:10:55 +0000 (19:10 +0000)
commit13bbf81c59fd2c5c9ba552ced4eec8dbcf7028d9
treebaf24f58158957db1bdce351c1c227a273a3a624
parent16a6b02df29494df05cc4de003c5c94d14c37688
Makefile.m32: fix to not require OpenSSL with -libssh2 or -rtmp options

Previously, -libssh2/-rtmp options assumed that OpenSSL is also enabled
(and then failed with an error when not finding expected OpenSSL headers),
but this isn't necessarly true, e.g. when building both libssh2 and curl
against Schannel. This patch makes sure to only enable the OpenSSL backend
with -libssh2/-rtmp, when there was no SSL option explicitly selected.

- Re-implement the logic as a single block of script.
- Also fix an indentation while there.

Assisted-by: Jay Satiro
Closes #7895
docs/examples/Makefile.m32
lib/Makefile.m32
src/Makefile.m32