commit aa01e5e50458099b5adeea31fb2c3c06d9d799ce
parent 68ce436fa7dbf2980e109706053b0fe12b3e4a6a
Author: Joris Vink <joris@coders.se>
Date: Mon, 4 Nov 2019 21:16:00 +0100
If OPENSSL_PATH is set, append lib to it.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
@@ -29,7 +29,7 @@ CFLAGS+=-DPREFIX='"$(PREFIX)"' -fstack-protector-all
ifneq ("$(OPENSSL_PATH)", "")
CFLAGS+=-I$(OPENSSL_PATH)/include
-LDFLAGS=-rdynamic -L$(OPENSSL_PATH) -lssl -l$(KORE_CRYPTO)
+LDFLAGS=-rdynamic -L$(OPENSSL_PATH)/lib -lssl -l$(KORE_CRYPTO)
else
LDFLAGS=-rdynamic -lssl -l$(KORE_CRYPTO)
endif