Skip to content

Commit

Permalink
mingw fix -lreadline
Browse files Browse the repository at this point in the history
Override of OP_SYS_LDLIBS prevented LDLIBS_READLINE
from having an effect.

Recent readline doesn't need curses
  • Loading branch information
mdavidsaver committed Jun 8, 2022
1 parent 2d11fb9 commit 2ee37b8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion configure/os/CONFIG.Common.win32-x86-mingw
Expand Up @@ -12,7 +12,7 @@ ARCH_CLASS = x86
POSIX = NO

# Definitions used when COMMANDLINE_LIBRARY is READLINE
LDLIBS_READLINE = -lreadline -lcurses
LDLIBS_READLINE = -lreadline

ARCH_DEP_CFLAGS += -m32
ARCH_DEP_LDFLAGS += -m32
Expand Down
2 changes: 1 addition & 1 deletion configure/os/CONFIG.linux-x86.win32-x86-mingw
Expand Up @@ -21,4 +21,4 @@ LOADABLE_SHRLIB_LDFLAGS = -shared \
GNU_LDLIBS_YES =

# Link with system libraries
OP_SYS_LDLIBS = -lpsapi -lws2_32 -ladvapi32 -luser32 -lkernel32 -lwinmm -ldbghelp
OP_SYS_LDLIBS += -lpsapi -lws2_32 -ladvapi32 -luser32 -lkernel32 -lwinmm -ldbghelp
2 changes: 1 addition & 1 deletion configure/os/CONFIG.win32-x86-mingw.win32-x86-mingw
Expand Up @@ -32,4 +32,4 @@ LOADABLE_SHRLIB_LDFLAGS = -shared \
GNU_LDLIBS_YES =

# Link with system libraries
OP_SYS_LDLIBS = -lpsapi -lws2_32 -ladvapi32 -luser32 -lkernel32 -lwinmm -ldbghelp
OP_SYS_LDLIBS += -lpsapi -lws2_32 -ladvapi32 -luser32 -lkernel32 -lwinmm -ldbghelp

0 comments on commit 2ee37b8

Please sign in to comment.