From e409833ea6360385d5c085643a9fa028f410d7e1 Mon Sep 17 00:00:00 2001 From: Nils Durner Date: Mon, 22 Mar 2010 20:24:49 +0000 Subject: [PATCH] MinGW fixes, thanks to LRN on #gnunet --- src/dht/Makefile.am | 2 +- src/peerinfo-tool/Makefile.am | 2 +- src/peerinfo/Makefile.am | 2 +- src/util/Makefile.am | 5 ++--- 4 files changed, 5 insertions(+), 6 deletions(-) diff --git a/src/dht/Makefile.am b/src/dht/Makefile.am index 333034ecd..5b323d489 100644 --- a/src/dht/Makefile.am +++ b/src/dht/Makefile.am @@ -1,7 +1,7 @@ INCLUDES = -I$(top_srcdir)/src/include if MINGW - WINFLAGS = -Wl,--no-undefined -Wl,--export-all-symbols -lole32 -lshell32 -luuid -liconv -lstdc++ -lcomdlg32 -lgdi32 + WINFLAGS = -Wl,--no-undefined -Wl,--export-all-symbols -lole32 -lshell32 -liconv -lstdc++ -lcomdlg32 -lgdi32 endif if USE_COVERAGE diff --git a/src/peerinfo-tool/Makefile.am b/src/peerinfo-tool/Makefile.am index b9e6d7d07..c10440f92 100644 --- a/src/peerinfo-tool/Makefile.am +++ b/src/peerinfo-tool/Makefile.am @@ -1,7 +1,7 @@ INCLUDES = -I$(top_srcdir)/src/include if MINGW - WINFLAGS = -Wl,--no-undefined -Wl,--export-all-symbols -lole32 -lshell32 -luuid -liconv -lstdc++ -lcomdlg32 -lgdi32 + WINFLAGS = -Wl,--no-undefined -Wl,--export-all-symbols -lole32 -lshell32 -liconv -lstdc++ -lcomdlg32 -lgdi32 endif if USE_COVERAGE diff --git a/src/peerinfo/Makefile.am b/src/peerinfo/Makefile.am index 42396e3e7..632a942de 100644 --- a/src/peerinfo/Makefile.am +++ b/src/peerinfo/Makefile.am @@ -1,7 +1,7 @@ INCLUDES = -I$(top_srcdir)/src/include if MINGW - WINFLAGS = -Wl,--no-undefined -Wl,--export-all-symbols -lole32 -lshell32 -luuid -liconv -lstdc++ -lcomdlg32 -lgdi32 + WINFLAGS = -Wl,--no-undefined -Wl,--export-all-symbols -lole32 -lshell32 -liconv -lstdc++ -lcomdlg32 -lgdi32 endif if USE_COVERAGE diff --git a/src/util/Makefile.am b/src/util/Makefile.am index d3f72091c..13bef97e0 100644 --- a/src/util/Makefile.am +++ b/src/util/Makefile.am @@ -11,7 +11,7 @@ libgnunetutilwin_la_SOURCES = \ libgnunetutilwin_la_LDFLAGS = \ -Wl,--no-undefined -Wl,--export-all-symbols libgnunetutilwin_la_LIBADD = \ - -lshell32 -luuid -liconv -lstdc++ \ + -lshell32 -liconv -lstdc++ \ -lcomdlg32 -lgdi32 WINLIB = libgnunetutilwin.la endif @@ -65,8 +65,7 @@ libgnunetutil_la_SOURCES = \ service.c \ signal.c \ strings.c \ - time.c \ - $(WINSRC) + time.c libgnunetutil_la_LIBADD = \ -- 2.25.1