Description
The following linker errors occur when trying to build with the bundled + static-link features on Windows:
libsdl2_sys-(snip).rlib(SDL_windowsevents.obj) : error LNK2019: unresolved external symbol __imp_DragQueryFileW referenced in function WIN_WindowProc
libsdl2_sys-(snip).rlib(SDL_windowsevents.obj) : error LNK2019: unresolved external symbol __imp_DragFinish referenced in function WIN_WindowProc
libsdl2_sys-(snip).rlib(SDL_windowsevents.obj) : error LNK2019: unresolved external symbol __imp_ExtractIconExW referenced in function SDL_RegisterApp_REAL
libsdl2_sys-(snip).rlib(SDL_sysfilesystem.obj) : error LNK2019: unresolved external symbol __imp_SHGetFolderPathW referenced in function SDL_GetPrefPath_REAL
libsdl2_sys-(snip).rlib(SDL_windowswindow.obj) : error LNK2019: unresolved external symbol __imp_DragAcceptFiles referenced in function WIN_AcceptDragAndDrop
All of these symbols appear to be from shell32, and I have downgraded to see if it builds on a version that is before pull #56568 (1.32) and sure enough it does. However right here in the build script it instructs it to link shell32, so this is quite puzzling.
No errors occur when building with only the bundled feature which copies the dynamic library.