Skip to content

Commit 6aa020b

Browse files
author
rblazek
committed
call linker twice
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@5739 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent 7e32d48 commit 6aa020b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Makefile.win.rules.in

+5
Original file line numberDiff line numberDiff line change
@@ -63,11 +63,16 @@ stdsubdirs:
6363
done
6464

6565
# Rule for subdirs using standard win system (make -f Makefile.win)
66+
# Warning: for some strange reason the output DLL library after first
67+
# linking is corrupted. We have to delete the library
68+
# and to call linker again.
6669
winsubdirs:
6770
@list='$(WINSUBDIRS)'; \
6871
for subdir in $$list; do \
6972
echo $$subdir ; \
7073
$(MAKE) -C $$subdir -f Makefile.win || exit 1 ; \
74+
rm -f $$subdir/.libs/*.dll; \
75+
$(MAKE) -C $$subdir -f Makefile.win || exit 1 ; \
7176
done
7277

7378
# Rule instalation (using WINSUBDIRS)

0 commit comments

Comments
 (0)