
Override of OP_SYS_LDLIBS prevented LDLIBS_READLINE from having an effect. Recent readline doesn't need curses
25 lines
799 B
Plaintext
25 lines
799 B
Plaintext
# CONFIG.linux-x86.win32-x86-mingw
|
|
#
|
|
# Definitions for linux-x86 host win32-x86-mingw target builds
|
|
# Override these definitions in CONFIG_SITE.linux-x86.win32-x86-mingw
|
|
#-------------------------------------------------------
|
|
|
|
# Include common gnu compiler definitions
|
|
include $(CONFIG)/CONFIG.gnuCommon
|
|
|
|
# Add resource compiler
|
|
RCCMD = $(GNU_BIN)/$(CMPLR_PREFIX)windres$(CMPLR_SUFFIX) $(INCLUDES) $< $@
|
|
|
|
# Remove -fPIC flags, add out-implib
|
|
SHRLIB_CFLAGS =
|
|
SHRLIB_LDFLAGS = -shared \
|
|
-Wl,--out-implib,$(DLLSTUB_PREFIX)$*$(DLLSTUB_SUFFIX)
|
|
LOADABLE_SHRLIB_LDFLAGS = -shared \
|
|
-Wl,--out-implib,$(DLLSTUB_PREFIX)$*$(DLLSTUB_SUFFIX)
|
|
|
|
# Don't link with gcc library
|
|
GNU_LDLIBS_YES =
|
|
|
|
# Link with system libraries
|
|
OP_SYS_LDLIBS += -lpsapi -lws2_32 -ladvapi32 -luser32 -lkernel32 -lwinmm -ldbghelp
|