From a6ae315621ec4ed781b5723344ea75ed40241408 Mon Sep 17 00:00:00 2001 From: Mark Felder Date: Thu, 10 Sep 2020 15:53:11 -0500 Subject: [PATCH] Fix MacOS build I use MacPorts and need to tell the build to look in /opt/local/ --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index c8145a5..deacaca 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ -CFLAGS = -std=c99 -g -Wall -Werror -CPPFLAGS = -I$(ERL_EI_INCLUDE_DIR) -I/usr/local/include -LDFLAGS = -L$(ERL_EI_LIBDIR) -L/usr/local/lib +CFLAGS += -std=c99 -g -Wall -Werror +CPPFLAGS += -I$(ERL_EI_INCLUDE_DIR) -I/usr/local/include +LDFLAGS += -L$(ERL_EI_LIBDIR) -L/usr/local/lib LDLIBS = -lpthread -lei -lm -lmagic PRIV = priv/ RM = rm -Rf