From 0ca889a4331b4439444a64b4b1fde9a31472fd1a Mon Sep 17 00:00:00 2001 From: Fabio Utzig Date: Thu, 8 Jan 2015 09:52:30 -0200 Subject: [PATCH] Add homebrew's readline paths --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 8d2e7679d..546f5722c 100644 --- a/Makefile +++ b/Makefile @@ -37,9 +37,9 @@ LDLIBS = -lstdc++ -lm SED = sed ifeq (Darwin,$(findstring Darwin,$(shell uname))) - # add macports include and library path to search directories, don't use '-rdynamic' and '-lrt': - CXXFLAGS += -I/opt/local/include - LDFLAGS += -L/opt/local/lib + # add macports/homebrew include and library path to search directories, don't use '-rdynamic' and '-lrt': + CXXFLAGS += -I/opt/local/include -I/usr/local/opt/readline/include + LDFLAGS += -L/opt/local/lib -L/usr/local/opt/readline/lib SED = gsed else LDFLAGS += -rdynamic -- 2.30.2