mirror of https://github.com/YosysHQ/yosys.git
makefile: Add the option to use libtermcap
This commit is contained in:
parent
f0741698fa
commit
85d667ca08
5
Makefile
5
Makefile
|
@ -19,6 +19,7 @@ ENABLE_LIBYOSYS := 0
|
|||
ENABLE_GPROF := 0
|
||||
ENABLE_NDEBUG := 0
|
||||
LINK_CURSES := 0
|
||||
LINK_TERMCAP := 0
|
||||
|
||||
# clang sanitizers
|
||||
SANITIZER =
|
||||
|
@ -213,6 +214,10 @@ ifeq ($(LINK_CURSES),1)
|
|||
LDLIBS += -lcurses
|
||||
ABCMKARGS += "ABC_READLINE_LIBRARIES=-lcurses -lreadline"
|
||||
endif
|
||||
ifeq ($(LINK_TERMCAP),1)
|
||||
LDLIBS += -ltermcap
|
||||
ABCMKARGS += "ABC_READLINE_LIBRARIES=-lreadline -ltermcap"
|
||||
endif
|
||||
ifeq ($(CONFIG),mxe)
|
||||
LDLIBS += -ltermcap
|
||||
endif
|
||||
|
|
Loading…
Reference in New Issue