mingw32/cygwin32 builds now automatically link against the most common win32 libraries.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3026 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
803a65290b
commit
bf86bd78cc
@ -983,6 +983,11 @@ if test "$wxUSE_CYGWIN" = 1 || test "$wxUSE_MINGW" = 1 ; then
|
|||||||
AC_MSG_CHECKING(for Windows headers)
|
AC_MSG_CHECKING(for Windows headers)
|
||||||
WX_PATH_FIND_INCLUDES($SEARCH_INCLUDE, windows.h)
|
WX_PATH_FIND_INCLUDES($SEARCH_INCLUDE, windows.h)
|
||||||
INCLUDE_SUBDIRS="$INCLUDE_SUBDIRS msw"
|
INCLUDE_SUBDIRS="$INCLUDE_SUBDIRS msw"
|
||||||
|
|
||||||
|
dnl --- Quick & Dirty ; link against most/all libraries
|
||||||
|
dnl --- This will bloat the executable, but it'll work for now...
|
||||||
|
LIBS="$LIBS -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwinspool -lwinmm -lshell32 -loldnames -lcomctl32 -lctl3d32 -lcrtdll -ladvapi32 -lwsock32"
|
||||||
|
|
||||||
if test "$ac_find_includes" != "" ; then
|
if test "$ac_find_includes" != "" ; then
|
||||||
AC_MSG_RESULT(found $ac_find_includes)
|
AC_MSG_RESULT(found $ac_find_includes)
|
||||||
TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE -I$ac_find_includes"
|
TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE -I$ac_find_includes"
|
||||||
|
Loading…
Reference in New Issue
Block a user