mirror of https://github.com/python/cpython
explicitly list objects for the ar command (#3824)
$^ is not portable. closes bpo-31625
This commit is contained in:
parent
d15108a478
commit
6fb0e4a6d0
|
@ -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 \
|
||||
|
|
Loading…
Reference in New Issue