summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabio Utzig <utzig@utzig.org>2015-01-08 09:52:30 -0200
committerFabio Utzig <utzig@utzig.org>2015-01-08 09:52:30 -0200
commit0ca889a4331b4439444a64b4b1fde9a31472fd1a (patch)
treec3d8ad775e4afc58b676110200b474f0f3ebffef
parent1d96277f5d4c615ca4018d9a6e867c980db3b73a (diff)
Add homebrew's readline paths
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 8d2e7679..546f5722 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