diff --git a/Makefile b/Makefile index 15f9725f..3cc94849 100644 --- a/Makefile +++ b/Makefile @@ -153,7 +153,7 @@ LRESRC = plink.$(RES) LIBS1 = advapi32.lib user32.lib gdi32.lib LIBS2 = comctl32.lib comdlg32.lib -LIBS3 = shell32.lib winmm.lib imm32.lib +LIBS3 = shell32.lib winmm.lib imm32.lib winspool.lib SOCK1 = wsock32.lib SOCK2 = ws2_32.lib diff --git a/mkfiles.pl b/mkfiles.pl index 75fddab0..000371d2 100755 --- a/mkfiles.pl +++ b/mkfiles.pl @@ -80,7 +80,7 @@ print " -DNO_SECURITY -D_NO_OLDNAMES -I.\n". "LDFLAGS = -mno-cygwin -s\n". "RCFLAGS = \$(RCINC) --define WIN32=1 --define _WIN32=1 --define WINVER=0x0400 --define MINGW32_FIX=1\n". -"LIBS = -ladvapi32 -luser32 -lgdi32 -lwsock32 -lcomctl32 -lcomdlg32 -lwinmm -limm32\n". +"LIBS = -ladvapi32 -luser32 -lgdi32 -lwsock32 -lcomctl32 -lcomdlg32 -lwinmm -limm32 -lwinspool\n". "OBJ=o\n". "RES=res.o\n". "\n";