diff options
author | Clifford Wolf <clifford@clifford.at> | 2016-11-22 21:24:45 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-11-22 21:24:45 +0100 |
commit | 73653de5ff7e257e396da6970e68f254808381be (patch) | |
tree | 127b40bbb22a2778ad8aede985359270afaf4c14 | |
parent | f257ccf22eadc68ab34ccb8639fdc4eda11af0c1 (diff) | |
parent | 277f47857282fbf0740eaeeaaa0325631d4bb7dd (diff) | |
download | yosys-73653de5ff7e257e396da6970e68f254808381be.tar.gz yosys-73653de5ff7e257e396da6970e68f254808381be.tar.bz2 yosys-73653de5ff7e257e396da6970e68f254808381be.zip |
Merge pull request #274 from oldtopman/lcurses
Added optional flag for linking curses with readline.
-rw-r--r-- | Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -18,6 +18,7 @@ ENABLE_LIBYOSYS := 0 # other configuration flags ENABLE_GPROF := 0 ENABLE_NDEBUG := 0 +LINK_CURSES := 0 # clang sanitizers SANITIZER = @@ -196,6 +197,10 @@ endif ifeq ($(ENABLE_READLINE),1) CXXFLAGS += -DYOSYS_ENABLE_READLINE LDLIBS += -lreadline +ifeq ($(LINK_CURSES),1) +LDLIBS += -lcurses +ABCMKARGS += "ABC_READLINE_LIBRARIES=-lcurses -lreadline" +endif ifeq ($(CONFIG),mxe) LDLIBS += -lpdcurses endif |