Skip to content

Commit

Permalink
explicitly list objects for the ar command (#3824)
Browse files Browse the repository at this point in the history
$^ is not portable.

closes bpo-31625
  • Loading branch information
benjaminp committed Sep 29, 2017
1 parent d15108a commit 6fb0e4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile.pre.in
Original file line number Diff line number Diff line change
Expand Up @@ -578,7 +578,7 @@ sharedmods: $(BUILDPYTHON) pybuilddir.txt Modules/_math.o
# Build static library
$(LIBRARY): $(LIBRARY_OBJS)
-rm -f $@
$(AR) $(ARFLAGS) $@ $^
$(AR) $(ARFLAGS) $@ $(LIBRARY_OBJS)

libpython$(LDVERSION).so: $(LIBRARY_OBJS)
if test $(INSTSONAME) != $(LDLIBRARY); then \
Expand Down

0 comments on commit 6fb0e4a

Please sign in to comment.