Add support for mbedtls to meson (#2350)

Related: #2345
This commit is contained in:
Alexey Sokolov authored and GitHub committed 2026-02-10 09:51:37 -10:00
1 parent 1f1a799d13
commit 8c4370247a
2 files changed
+26 -6

No files matched your search

+3 -1
View File
@@ -2,7 +2,8 @@
#
# SPDX-License-Identifier: MIT
option('openssl', type: 'feature', value: 'auto', description: 'Enable OpenSSL support')
option('tls', type: 'feature', description: 'Enable TLS support')
option('tls_backend', type: 'combo', choices: ['openssl', 'mbedtls'], value: 'openssl', description: 'Which TLS library to use')
option('zlib', type: 'feature', value: 'auto', description: 'Enable zlib support')
option('brotli', type: 'feature', value: 'auto', description: 'Enable Brotli support')
option('zstd', type: 'feature', value: 'auto', description: 'Enable zstd support')
@@ -12,6 +13,7 @@ option('compile', type: 'boolean', value: false, description: 'Split the header
option('test', type: 'boolean', value: false, description: 'Build tests')
# Old option names
option('openssl', type: 'feature', deprecated: 'tls')
option('cpp-httplib_openssl', type: 'feature', deprecated: 'openssl')
option('cpp-httplib_zlib', type: 'feature', deprecated: 'zlib')
option('cpp-httplib_brotli', type: 'feature', deprecated: 'brotli')