From: Fabio Utzig Date: Thu, 8 Jan 2015 11:52:30 +0000 (-0200) Subject: Add homebrew's readline paths X-Git-Tag: yosys-0.5~114^2~3 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0ca889a4331b4439444a64b4b1fde9a31472fd1a;p=yosys.git Add homebrew's readline paths --- 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