Fixed MXE readline support

This commit is contained in:
Clifford Wolf 2014-10-11 10:59:11 +02:00
parent 53349fb634
commit e8c66ee36b
1 changed files with 3 additions and 1 deletions

View File

@ -102,6 +102,9 @@ endif
ifeq ($(ENABLE_READLINE),1)
CXXFLAGS += -DYOSYS_ENABLE_READLINE
LDLIBS += -lreadline
ifeq ($(CONFIG),mxe)
LDLIBS += -lpdcurses
endif
endif
ifeq ($(ENABLE_PLUGINS),1)
@ -330,7 +333,6 @@ config-mxe: clean
echo 'ENABLE_TCL := 0' >> Makefile.conf
echo 'ENABLE_ABC := 0' >> Makefile.conf
echo 'ENABLE_PLUGINS := 0' >> Makefile.conf
echo 'ENABLE_READLINE := 0' >> Makefile.conf
config-gprof: clean
echo 'CONFIG := gcc' > Makefile.conf