Skip to content

Commit 6fb0e4a

Browse files
authored
explicitly list objects for the ar command (#3824)
$^ is not portable. closes bpo-31625
1 parent d15108a commit 6fb0e4a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile.pre.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -578,7 +578,7 @@ sharedmods: $(BUILDPYTHON) pybuilddir.txt Modules/_math.o
578578
# Build static library
579579
$(LIBRARY): $(LIBRARY_OBJS)
580580
-rm -f $@
581-
$(AR) $(ARFLAGS) $@ $^
581+
$(AR) $(ARFLAGS) $@ $(LIBRARY_OBJS)
582582

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

0 commit comments

Comments
 (0)