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