call linker twice

git-svn-id: http://svn.osgeo.org/qgis/trunk@5739 c8812cc2-4d05-0410-92ff-de0c093fc19c
This commit is contained in:
rblazek 2006-08-28 09:25:22 +00:00
parent 6f898ecd53
commit c2e3aad830

View File

@ -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)