kore

a fork of the worlds most advanced web framework
Log | Files | Refs | README | LICENSE

commit 34829d85926e117b0918585582ae4b54d6965379
parent c431c2bf723aa53aa5df6f8c4f7d712082b447bf
Author: Joris Vink <joris@coders.se>
Date:   Wed, 28 Nov 2018 13:54:38 +0100

Add OPENSSL_PATH environment variable.

Diffstat:
MMakefile | 6++++++
1 file changed, 6 insertions(+), 0 deletions(-)

diff --git a/Makefile b/Makefile @@ -25,7 +25,13 @@ CFLAGS+=-Wall -Werror -Wstrict-prototypes -Wmissing-prototypes CFLAGS+=-Wmissing-declarations -Wshadow -Wpointer-arith -Wcast-qual CFLAGS+=-Wsign-compare -Iinclude/kore -std=c99 -pedantic CFLAGS+=-DPREFIX='"$(PREFIX)"' -fstack-protector-all + +ifneq ("$(OPENSSL_PATH)", "") +CFLAGS+=-I$(OPENSSL_PATH)/include +LDFLAGS=-rdynamic -L$(OPENSSL_PATH) -lssl -l$(KORE_CRYPTO) +else LDFLAGS=-rdynamic -lssl -l$(KORE_CRYPTO) +endif ifneq ("$(KORE_SINGLE_BINARY)", "") CFLAGS+=-DKORE_SINGLE_BINARY