From 66aa2e6b490ea81a7a2c7894af29b01da9e50a97 Mon Sep 17 00:00:00 2001 From: carlzhc <356889@gmail.com> Date: Tue, 16 Jan 2024 17:05:55 +0800 Subject: [PATCH] Fix build lib errors on MSYS platform --- GNUmakefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/GNUmakefile b/GNUmakefile index 9afa1b8e..d8945d03 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -40,6 +40,9 @@ endif ifdef STATIC LDFLAGS=-static -static-libgcc + ifneq ($(MSYSTEM),) + CURSES_LIBS:= $(CURSES_LIBS).dll + endif endif CC?= gcc