]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUILD: makefile: make all OpenSSL variants use the same settings
authorWilly Tarreau <w@1wt.eu>
Thu, 22 Dec 2022 13:39:54 +0000 (14:39 +0100)
committerWilly Tarreau <w@1wt.eu>
Fri, 23 Dec 2022 15:53:35 +0000 (16:53 +0100)
commit2b8d0978f328bab193e29c50e89c27707dda7100
tree41f43158eb8a710ad8008d528a221c4f4434171c
parent323b50b0f14712db2b68ba07d575e22f29eaa636
BUILD: makefile: make all OpenSSL variants use the same settings

It's getting complicated to configure includes and lib dirs for
OpenSSL API variants such as WolfSSL, because some settings are
common and others are specific but carry a prefix that doesn't
match the USE_* rule scheme.

This patch simplifies everything by considering that all SSL libs
will use SSL_INC, SSL_LIB, SSL_CFLAGS and SSL_LDFLAGS. That's much
more convenient. This works thanks to the settings collector which
explicitly checks the SSL_* settings. When USE_OPENSSL_WOLFSSL is
set, then USE_OPENSSL is implied, so that there's no need to
duplicate maintenance effort.
Makefile
include/make/options.mk