Restore dynamic linking of GDI functions for non-MSVC.
This partially reverts the changes of r77029 and r77039: now functions such as Set/GetLayout(), AlphaBlend() and GradientFill() are still called (almost) directly when using MSVC but pass by dynamic loading with the other compilers, which don't have #pragma comment(lib) and, in MinGW case, also lack some of these functions in their libraries even if we do link with them. Closes #16411. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@77068 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
3
configure
vendored
3
configure
vendored
@@ -23051,8 +23051,7 @@ if test "$wxUSE_GUI" = "yes"; then
|
||||
|
||||
case "${host}" in
|
||||
*-*-mingw32* )
|
||||
GUI_TK_LIBRARY="-lmsimg32"
|
||||
WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows $GUI_TK_LIBRARY"
|
||||
WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
|
||||
esac
|
||||
fi
|
||||
|
||||
|
Reference in New Issue
Block a user