Added SSL support
SVN revision: 2056
This commit is contained in:
@@ -21,6 +21,9 @@ DESTDIR = $(ROOT)$(PREFIX)/bin
|
||||
SDESTDIR = $(ROOT)$(PREFIX)/sbin
|
||||
RCDIR = $(ROOT)/etc/rc.d/init.d
|
||||
|
||||
# flag for SSL support
|
||||
USE_SSL = 1
|
||||
|
||||
#############################################################
|
||||
|
||||
# Default compilation flags unless stated otherwise.
|
||||
@@ -70,6 +73,11 @@ endif
|
||||
|
||||
CFLAGS += -DOS_$(OSTYPE)
|
||||
|
||||
ifdef USE_SSL
|
||||
CFLAGS += -DHAVE_SSL
|
||||
LIBS += -lssl
|
||||
endif
|
||||
|
||||
all: $(EXECS)
|
||||
|
||||
regex.o: src/regex.c src/regex.h
|
||||
|
||||
Reference in New Issue
Block a user