]> git.ipfire.org Git - thirdparty/curl.git/commit
Makefile.m32: support more options [ci skip]
authorViktor Szakats <commit@vsz.me>
Tue, 11 Oct 2022 07:56:01 +0000 (07:56 +0000)
committerViktor Szakats <commit@vsz.me>
Tue, 11 Oct 2022 07:56:01 +0000 (07:56 +0000)
commit66e68ca47f7fd00dff2cb7c45ba6725d40099585
tree8c356a7a7d07bfabdd1b53ddac155119f74ef785
parent474a947e661abe1cdc752866e4f148c0db7ef571
Makefile.m32: support more options [ci skip]

- Add support for these options:
  `-wolfssl`, `-wolfssh`, `-mbedtls`, `-libssh`, `-psl`

  Caveats:
  - `-wolfssh` requires `-wolfssl`.
  - `-wolfssl` cannot be used with OpenSSL backends in parallel.
  - `-libssh` has build issues with BoringSSL and LibreSSL, and also
     what looks like a world-writable-config vulnerability on Windows.
     Consider it experimental.
  - `-psl` requires `-idn2` and extra libs passed via
    `LIBS=-liconv -lunistring`.

- Detect BoringSSL/wolfSSL and set ngtcp2 crypto lib accordingly.
- Generalize MultiSSL detection.
- Use else-if syntax. Requires GNU Make 3.81 (2006-04-01).
- Document more customization options.

This brings over some configuration logic from `curl-for-win`.

Closes #9680
lib/Makefile.m32