From: Clifford Wolf Date: Sat, 11 Oct 2014 08:59:11 +0000 (+0200) Subject: Fixed MXE readline support X-Git-Tag: yosys-0.4~70 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e8c66ee36bdbaa9652a4e838cabeff4107f50da1;p=yosys.git Fixed MXE readline support --- diff --git a/Makefile b/Makefile index 6faeeb4ce..6b77d854b 100644 --- a/Makefile +++ b/Makefile @@ -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