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
|
||||
|
||||
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
|
||||
|
|
Loading…
Reference in New Issue