Minor SSL-related fixes
This commit is contained in:
parent
82549a53de
commit
bc2a8f372a
4
Makefile
4
Makefile
@ -55,7 +55,9 @@ STLIBNAME=$(LIBNAME).$(STLIBSUFFIX)
|
|||||||
STLIB_MAKE_CMD=$(AR) rcs $(STLIBNAME)
|
STLIB_MAKE_CMD=$(AR) rcs $(STLIBNAME)
|
||||||
|
|
||||||
ifdef USE_SSL
|
ifdef USE_SSL
|
||||||
OPENSSL_PREFIX=/usr/local/opt/openssl
|
# This is the prefix of openssl on my system. This should be the sane default
|
||||||
|
# based on the platform
|
||||||
|
OPENSSL_PREFIX?=/usr/local/opt/openssl
|
||||||
CFLAGS+=-I$(OPENSSL_PREFIX)/include -DHIREDIS_SSL
|
CFLAGS+=-I$(OPENSSL_PREFIX)/include -DHIREDIS_SSL
|
||||||
LDFLAGS+=-L$(OPENSSL_PREFIX)/lib -lssl -lcrypto
|
LDFLAGS+=-L$(OPENSSL_PREFIX)/lib -lssl -lcrypto
|
||||||
endif
|
endif
|
||||||
|
Loading…
Reference in New Issue
Block a user