From bba7a6b44c709a0cb7301db34f0f8541cc6cbe38 Mon Sep 17 00:00:00 2001 From: nhmall Date: Sat, 28 Oct 2017 09:53:27 -0400 Subject: [PATCH] fix Makefile build for Windows after recent changes New code in nttty.c had a dependency on gdi32.lib. Previously that was only being linked in for the gui build when using the Makefile. Move the reference into the base libraries if both tty and gui depend on it now. --- sys/winnt/Makefile.msc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/winnt/Makefile.msc b/sys/winnt/Makefile.msc index 380019228..93324245e 100644 --- a/sys/winnt/Makefile.msc +++ b/sys/winnt/Makefile.msc @@ -247,8 +247,8 @@ guilflags = $(lflags) -subsystem:windows,$(EXEVER) dlllflags = $(lflags) -entry:_DllMainCRTStartup$(DLLENTRY) -dll # basic subsystem specific libraries, less the C Run-Time -baselibs = kernel32.lib $(optlibs) $(winsocklibs) advapi32.lib -winlibs = $(baselibs) user32.lib gdi32.lib comdlg32.lib winspool.lib +baselibs = kernel32.lib $(optlibs) $(winsocklibs) advapi32.lib gdi32.lib +winlibs = $(baselibs) user32.lib comdlg32.lib winspool.lib # for Windows applications that use the C Run-Time libraries conlibs = $(baselibs)