Skip to content

Commit

Permalink
Disable READLINE for MXE builds. Static MXE builds have a duplicate s…
Browse files Browse the repository at this point in the history
…ymbol error for readline.
  • Loading branch information
highperformancecoder committed Oct 20, 2023
1 parent eaa89a4 commit 8a3ace6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions include/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -385,10 +385,12 @@ LIBTIRPC=$(shell if $(PKG_CONFIG) libtirpc; then $(PKG_CONFIG) --libs libtirpc;
FLAGS+=-DXDR_PACK $(LIBTIRPC)
endif

ifndef MXE
ifdef READLINE
FLAGS+=-DREADLINE
LIBS+=-lreadline -lncurses
endif
endif

ifdef BDB
FLAGS+=-DBDB
Expand Down

0 comments on commit 8a3ace6

Please sign in to comment.