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
>
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)
2 matches
Mail list logo