Add WITH_PROXY flag

This commit is contained in:
Alex Hultman
2020-06-06 12:59:40 +02:00
parent e70bbb4fb6
commit 2538cd18e9
6 changed files with 128 additions and 54 deletions
+5
View File
@@ -6,6 +6,11 @@ override LDFLAGS += uSockets/*.o -lz
DESTDIR ?=
prefix ?= /usr/local
# WITH_PROXY enables PROXY Protocol v2 support
ifeq ($(WITH_PROXY),1)
override CXXFLAGS += -DWITH_PROXY
endif
# WITH_OPENSSL=1 enables OpenSSL 1.1+ support
ifeq ($(WITH_OPENSSL),1)
# With problems on macOS, make sure to pass needed LDFLAGS required to find these