]> git.saurik.com Git - wxWidgets.git/commitdiff
remove static libraries and recreate them to avoid stale object files
authorGilles Depeyrot <gilles_depeyrot@mac.com>
Sun, 25 Nov 2001 12:56:42 +0000 (12:56 +0000)
committerGilles Depeyrot <gilles_depeyrot@mac.com>
Sun, 25 Nov 2001 12:56:42 +0000 (12:56 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12677 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/makelib.env.in

index f1bd2948043558f6c4d238ea8b836e1e705b3c83..1707f4ad246515b364cdd8af1188d6b01da457d4 100644 (file)
@@ -75,7 +75,8 @@ $(top_builddir)/lib/$(TARGETLIB_SHARED): $(OBJECTS)
 
 $(top_builddir)/lib/$(TARGETLIB_STATIC): $(OBJECTS)
        @$(INSTALL) -d $(top_builddir)/lib
-       ar $(AROPTIONS) $@ $(OBJECTS)
+       @$(RM) $@
+       $(AR) $(AROPTIONS) $@ $(OBJECTS)
        $(RANLIB) $@
 
 install: install_@WX_TARGET_LIBRARY_TYPE@ install_headers