From 7d61535076aa1ca484f453594b29e2ca052c2505 Mon Sep 17 00:00:00 2001 From: Martin Szulecki Date: Sat, 16 Feb 2013 18:30:45 +0100 Subject: Fix building with mingw and make sure linking generates proper DLL files --- util/src/Makefile.am | 5 +++-- util/src/minizip/Makefile.am | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) (limited to 'util/src') diff --git a/util/src/Makefile.am b/util/src/Makefile.am index fb40027..0cc7fbf 100644 --- a/util/src/Makefile.am +++ b/util/src/Makefile.am @@ -56,9 +56,10 @@ libaxutil_la_SOURCES = hash.c \ libaxutil_la_LIBADD = $(top_builddir)/src/platforms/$(PLATFORM)/libaxis2_$(PLATFORM).la \ -lpthread \ - @ZLIBLIBS@ + @ZLIBLIBS@ \ + $(WIN32_EXTRA_LIBADD) -libaxutil_la_LDFLAGS = -version-info $(VERSION_NO) +libaxutil_la_LDFLAGS = -version-info $(VERSION_NO) $(WIN32_EXTRA_LDFLAGS) INCLUDES = -I$(top_builddir)/include diff --git a/util/src/minizip/Makefile.am b/util/src/minizip/Makefile.am index f9e239e..9cf9fe1 100644 --- a/util/src/minizip/Makefile.am +++ b/util/src/minizip/Makefile.am @@ -19,7 +19,7 @@ libaxis2_minizip_la_SOURCES = ioapi.c \ archive_extract.c \ crypt.c -libaxis2_minizip_la_LDFLAGS = -version-info $(VERSION_NO) +libaxis2_minizip_la_LDFLAGS = -version-info $(VERSION_NO) $(WIN32_EXTRA_LDFLAGS) INCLUDES = -I$(top_builddir)/include \ -I$(top_builddir)/platforms -- cgit v1.1-32-gdbae