From c68eb0c7055f36e0ab97d8bb8192447b64f01685 Mon Sep 17 00:00:00 2001 From: Joris Vink Date: Wed, 27 Oct 2021 17:59:14 +0200 Subject: [PATCH] make sure we add to LDFLAGS --- Makefile | 2 +- kodev/Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index e662aa9..9f65b8b 100644 --- a/Makefile +++ b/Makefile @@ -133,7 +133,7 @@ endif ifeq ("$(OSNAME)", "darwin") CFLAGS+=$(shell pkg-config openssl --cflags) - LDFLAGS=$(shell pkg-config openssl --libs) + LDFLAGS+=$(shell pkg-config openssl --libs) S_SRC+=src/bsd.c else ifeq ("$(OSNAME)", "linux") CFLAGS+=-D_GNU_SOURCE=1 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 diff --git a/kodev/Makefile b/kodev/Makefile index c518cf6..8fb6027 100644 --- a/kodev/Makefile +++ b/kodev/Makefile @@ -29,7 +29,7 @@ endif OSNAME=$(shell uname -s | sed -e 's/[-_].*//g' | tr A-Z a-z) ifeq ("$(OSNAME)", "darwin") CFLAGS+=$(shell pkg-config openssl --cflags) - LDFLAGS=$(shell pkg-config openssl --libs) + LDFLAGS+=$(shell pkg-config openssl --libs) else ifeq ("$(OSNAME)", "linux") CFLAGS+=-D_GNU_SOURCE=1 endif