]> git.saurik.com Git - wxWidgets.git/commitdiff
mingw32/cygwin32 builds now automatically link against the most common win32 libraries.
authorHarco de Hilster <harcoh@caos.kun.nl>
Sat, 17 Jul 1999 18:12:50 +0000 (18:12 +0000)
committerHarco de Hilster <harcoh@caos.kun.nl>
Sat, 17 Jul 1999 18:12:50 +0000 (18:12 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3026 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

configure.in

index 9955d039e79f13321099e2e97869e1f209e66377..428d3f53a30c7bf35891cb4689124e88b67cea9f 100644 (file)
@@ -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"