X Tutup
Skip to content

Commit 1cab539

Browse files
committed
BUILD: Use proper libraries for Win32 printing
1 parent 2a1a9fd commit 1cab539

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

configure

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7237,7 +7237,7 @@ echo_n "Building system printing support... "
72377237
case $_host_os in
72387238
mingw*)
72397239
echo "win32"
7240-
append_var LIBS '-lMsimg32'
7240+
append_var LIBS '-lwinspool'
72417241
;;
72427242
*)
72437243
echo "no"

devtools/create_project/msvc.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ std::string MSVCProvider::getLibraryFromFeature(const char *feature, const Build
8484
{ "updates", "WinSparkle.lib", nullptr, kSDLVersionAny, nullptr },
8585
{ "tts", nullptr, nullptr, kSDLVersionAny, "sapi.lib" },
8686
{ "opengl", nullptr, nullptr, kSDLVersionAny, nullptr },
87-
{ "printing", nullptr, nullptr, kSDLVersionAny, "Msimg32.lib" },
87+
{ "printing", nullptr, nullptr, kSDLVersionAny, "winspool.lib" },
8888
{ "enet", nullptr, nullptr, kSDLVersionAny, "winmm.lib ws2_32.lib" }
8989
};
9090

0 commit comments

Comments
 (0)
X Tutup