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) $(cmd_LD) $(LDFLAGS) -o $@ $^ $(LDOPTS) +ifeq ($(USE_OPENSSL),) + $(warning Building without TLS support. Add USE_OPENSSL to add support for TLS encrypted connections.) +endif + objsize: haproxy $(Q)objdump -t $^|grep ' g '|grep -F '.text'|awk '{print $$5 FS $$6}'|sort -- 2.29.0