LRN: Add -lole32 (why had it worked without this until
authorChristian Grothoff <christian@grothoff.org>
Sat, 5 Nov 2011 14:43:41 +0000 (14:43 +0000)
committerChristian Grothoff <christian@grothoff.org>
Sat, 5 Nov 2011 14:43:41 +0000 (14:43 +0000)
 now?)

configure.ac
src/util/Makefile.am

index e596766eb194cf6f01dde545905a6036098000b4..9f00d10eda7bc610af611c3ef9942b909748d461 100644 (file)
@@ -142,7 +142,7 @@ netbsd*)
      AC_DEFINE_UNQUOTED(_WIN32,1,[This is a Windows system])
      AC_CHECK_LIB(intl, gettext)
      LDFLAGS="$LDFLAGS -Wl,-no-undefined -Wl,--export-all-symbols"
-     LIBS="$LIBS -lws2_32 -lplibc -lgnurx"
+     LIBS="$LIBS -lws2_32 -lplibc -lgnurx -lole32"
      CFLAGS="-mms-bitfields $CFLAGS"
      CPPFLAGS="-D_WIN32_WINNT=0x0501 $CPPFLAGS"
      build_target="mingw"
index ad623dc38c8b9b7eacd4236ea6fc5fcf9793c24c..c62fc4246fa0e8b36dc92b8ccf3ee33e7563234a 100644 (file)
@@ -17,7 +17,7 @@ libgnunetutilwin_la_LDFLAGS = \
   -no-undefined -Wl,--export-all-symbols 
 libgnunetutilwin_la_LIBADD = \
   -lshell32 -liconv -lstdc++ \
-  -lcomdlg32 -lgdi32 -lole32
+  -lcomdlg32 -lgdi32
 WINLIB = libgnunetutilwin.la
 endif