Allowing switching HTTPS builds on/off using the HTTPS Makefile parameter
This commit is contained in:
@@ -21,10 +21,14 @@ else
|
||||
LFLAGS += -lssl -lcrypto
|
||||
endif
|
||||
|
||||
HTTPS = 1
|
||||
ifeq ($(HTTPS),1)
|
||||
HTTPS ?= 0
|
||||
ifneq ($(HTTPS),0)
|
||||
ifeq ($(OS),Windows_NT)
|
||||
$(error "HTTPS not supported on Windows")
|
||||
else
|
||||
CFLAGS += -DHTTPS_ENABLED
|
||||
LFLAGS += -lssl -lcrypto
|
||||
endif
|
||||
endif
|
||||
|
||||
# Installation directories
|
||||
|
||||
@@ -5,7 +5,5 @@ handle 3xx client redirections
|
||||
add discussion on string management
|
||||
add discussion on error management
|
||||
check that virtual hosts over HTTPS work
|
||||
|
||||
add timers
|
||||
add debug and release builds
|
||||
make it easy to switch on and off HTTPS when building
|
||||
|
||||
Reference in New Issue
Block a user