mirror of
https://github.com/jorisvink/kore
synced 2025-03-09 12:39:01 -04:00
Add OPENSSL_PATH environment variable.
This commit is contained in:
parent
c431c2bf72
commit
34829d8592
6
Makefile
6
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user