On 11/3/21 10:56 AM, Shawn Heisey wrote:
Everything I have seen says that haproxy's build system is ignoring the SSL_INC and SSL_LIB settings I told it to use, and autodetecting the openssl in /usr/local.


I thought the following patch would take care of it, but it did not work.  So I will go back to installing openssl v3 to a non-standard prefix, which does work.

========================
--- Makefile.orig    2021-11-03 11:30:26.043154770 -0600
+++ Makefile    2021-11-03 11:30:48.876099955 -0600
@@ -574,9 +574,10 @@
 OPTIONS_OBJS   += src/cpuset.o
 endif

-ifneq ($(USE_OPENSSL),)
+ifeq ($(USE_OPENSSL),)
 SSL_INC =
 SSL_LIB =
+else
 # OpenSSL is packaged in various forms and with various dependencies.
 # In general -lssl is enough, but on some platforms, -lcrypto may be needed,  # reason why it's added by default. Some even need -lz, then you'll need to
========================

There is obviously more to the build system than I have the knowledge to grok.

Thanks,
Shawn



Reply via email to