Re: [PATCH] BUILD: Print a warning when building without USE_OPENSSL=1

2021-01-05 Thread Willy Tarreau
On Tue, Jan 05, 2021 at 06:17:56PM +0100, Tim Duesterhus wrote: > haproxy: $(OPTIONS_OBJS) $(OBJS) > $(cmd_LD) $(LDFLAGS) -o $@ $^ $(LDOPTS) > +ifeq ($(USE_OPENSSL),) > + $(warning Building without TLS support. Add USE_OPENSSL to add support > for TLS encrypted connections.) > +endif >

[PATCH] BUILD: Print a warning when building without USE_OPENSSL=1

2021-01-05 Thread Tim Duesterhus
Add a warning to the `haproxy` target when building without USE_OPENSSL. --- Makefile | 4 1 file changed, 4 insertions(+) diff --git a/Makefile b/Makefile index 4e6c834ed..e60b7d3c8 100644 --- a/Makefile +++ b/Makefile @@ -912,6 +912,10 @@ endif haproxy: $(OPTIONS_OBJS) $(OBJS)