Add homebrew's readline paths

This commit is contained in:
Fabio Utzig 2015-01-08 09:52:30 -02:00
parent 1d96277f5d
commit 0ca889a433
1 changed files with 3 additions and 3 deletions

View File

@ -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