commit 3a9669a28263689f8a45b3298973a6b0446ae1b5
parent 083b8590a09d5081811b9e2edf433819432c16db
Author: Joris Vink <joris@sanctorum.se>
Date: Fri, 31 Oct 2025 08:08:32 +0100
Honor OPENSSL_PATH when compiling kodev.
Diffstat:
1 file changed, 5 insertions(+), 0 deletions(-)
diff --git a/kodev/Makefile b/kodev/Makefile
@@ -26,6 +26,11 @@ ifneq ("$(MINIMAL)", "")
LDFLAGS=
endif
+ifneq ("$(OPENSSL_PATH)", "")
+ CFLAGS+=-I$(OPENSSL_PATH)/include
+ LDFLAGS+=-L$(OPENSSL_PATH)/lib -lcrypto
+endif
+
OSNAME=$(shell uname -s | sed -e 's/[-_].*//g' | tr A-Z a-z)
ifeq ("$(OSNAME)", "darwin")
CFLAGS+=$(shell pkg-config openssl --cflags)