Skip to content

Commit 5586bd2

Browse files
committed
Merge branch 'sg/make-fix-ar-invocation' into maint
Build fix. * sg/make-fix-ar-invocation: Makefile: remove archives before manipulating them with 'ar'
2 parents 4e408f1 + 325b06d commit 5586bd2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2603,10 +2603,10 @@ $(REMOTE_CURL_PRIMARY): remote-curl.o http.o http-walker.o GIT-LDFLAGS $(GITLIBS
26032603
$(CURL_LIBCURL) $(EXPAT_LIBEXPAT) $(LIBS)
26042604

26052605
$(LIB_FILE): $(LIB_OBJS)
2606-
$(QUIET_AR)$(AR) $(ARFLAGS) $@ $^
2606+
$(QUIET_AR)$(RM) $@ && $(AR) $(ARFLAGS) $@ $^
26072607

26082608
$(XDIFF_LIB): $(XDIFF_OBJS)
2609-
$(QUIET_AR)$(AR) $(ARFLAGS) $@ $^
2609+
$(QUIET_AR)$(RM) $@ && $(AR) $(ARFLAGS) $@ $^
26102610

26112611
export DEFAULT_EDITOR DEFAULT_PAGER
26122612

0 commit comments

Comments
 (0)