mirror of https://github.com/YosysHQ/yosys.git
Add homebrew's readline paths
This commit is contained in:
parent
1d96277f5d
commit
0ca889a433
6
Makefile
6
Makefile
|
@ -37,9 +37,9 @@ LDLIBS = -lstdc++ -lm
|
||||||
SED = sed
|
SED = sed
|
||||||
|
|
||||||
ifeq (Darwin,$(findstring Darwin,$(shell uname)))
|
ifeq (Darwin,$(findstring Darwin,$(shell uname)))
|
||||||
# add macports include and library path to search directories, don't use '-rdynamic' and '-lrt':
|
# add macports/homebrew include and library path to search directories, don't use '-rdynamic' and '-lrt':
|
||||||
CXXFLAGS += -I/opt/local/include
|
CXXFLAGS += -I/opt/local/include -I/usr/local/opt/readline/include
|
||||||
LDFLAGS += -L/opt/local/lib
|
LDFLAGS += -L/opt/local/lib -L/usr/local/opt/readline/lib
|
||||||
SED = gsed
|
SED = gsed
|
||||||
else
|
else
|
||||||
LDFLAGS += -rdynamic
|
LDFLAGS += -rdynamic
|
||||||
|
|
Loading…
Reference in New Issue