From bf86bd78ccd7ada5106c81d659ec927a5ed9934d Mon Sep 17 00:00:00 2001 From: Harco de Hilster Date: Sat, 17 Jul 1999 18:12:50 +0000 Subject: [PATCH] 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 --- configure.in | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/configure.in b/configure.in index 9955d039e7..428d3f53a3 100644 --- a/configure.in +++ b/configure.in @@ -983,6 +983,11 @@ if test "$wxUSE_CYGWIN" = 1 || test "$wxUSE_MINGW" = 1 ; then AC_MSG_CHECKING(for Windows headers) WX_PATH_FIND_INCLUDES($SEARCH_INCLUDE, windows.h) 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 AC_MSG_RESULT(found $ac_find_includes) TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE -I$ac_find_includes"