]> git.saurik.com Git - wxWidgets.git/blobdiff - src/makelib.env.in
compilation fix for recent commit
[wxWidgets.git] / src / makelib.env.in
index f1bd2948043558f6c4d238ea8b836e1e705b3c83..0e6a61b6bb5ad19a9e135768ed631827967c5997 100644 (file)
@@ -57,14 +57,12 @@ VPATH = @PATH_IFS@$(top_srcdir)/$(libsrc_dir) # ':' for autoconf
 
 include $(top_builddir)/src/make.env
 
-
 all: libtype_@WX_TARGET_LIBRARY_TYPE@
 
 libtype_so: $(top_builddir)/lib/$(TARGETLIB_SHARED)
 
 libtype_a: $(top_builddir)/lib/$(TARGETLIB_STATIC)
 
-
 $(top_builddir)/lib/$(TARGETLIB_SHARED): $(OBJECTS)
        @$(INSTALL) -d $(top_builddir)/lib
        $(SHARED_LD) $@ $(TARGETLIB_SONAME) $(OBJECTS)
@@ -75,7 +73,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