From 30d51b69bcfd67b8276b2c48585a3611308e35eb Mon Sep 17 00:00:00 2001 From: Kevin Read Date: Sun, 18 Jun 2017 16:27:50 +0200 Subject: [PATCH] Also use LDFLAGS when compiling and linking np so we can link on macOS against libcrypto in brew --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 3ac5a8cd..23146419 100644 --- a/Makefile +++ b/Makefile @@ -162,7 +162,7 @@ be-mongo.o: be-mongo.c be-mongo.h Makefile be-files.o: be-files.c be-files.h Makefile np: np.c base64.o - $(CC) $(CFLAGS) $^ -o $@ $(OSSLIBS) + $(CC) $(CFLAGS) $(LDFLAGS) $^ -o $@ $(OSSLIBS) $(CDBLIB): (cd $(CDBDIR); make libcdb.a cdb )