From c2e3aad8307c755a3b208ec1d174e574230b1a0d Mon Sep 17 00:00:00 2001 From: rblazek Date: Mon, 28 Aug 2006 09:25:22 +0000 Subject: [PATCH] call linker twice git-svn-id: http://svn.osgeo.org/qgis/trunk@5739 c8812cc2-4d05-0410-92ff-de0c093fc19c --- Makefile.win.rules.in | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Makefile.win.rules.in b/Makefile.win.rules.in index c785304c5815..751b57e9d980 100644 --- a/Makefile.win.rules.in +++ b/Makefile.win.rules.in @@ -63,11 +63,16 @@ stdsubdirs: done # Rule for subdirs using standard win system (make -f Makefile.win) +# Warning: for some strange reason the output DLL library after first +# linking is corrupted. We have to delete the library +# and to call linker again. winsubdirs: @list='$(WINSUBDIRS)'; \ for subdir in $$list; do \ echo $$subdir ; \ $(MAKE) -C $$subdir -f Makefile.win || exit 1 ; \ + rm -f $$subdir/.libs/*.dll; \ + $(MAKE) -C $$subdir -f Makefile.win || exit 1 ; \ done # Rule instalation (using WINSUBDIRS)