mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
explicitly list objects for the ar command (#3824)
$^ is not portable. closes bpo-31625
This commit is contained in:
parent
d15108a478
commit
6fb0e4a6d0
1 changed files with 1 additions and 1 deletions
|
@ -578,7 +578,7 @@ sharedmods: $(BUILDPYTHON) pybuilddir.txt Modules/_math.o
|
||||||
# Build static library
|
# Build static library
|
||||||
$(LIBRARY): $(LIBRARY_OBJS)
|
$(LIBRARY): $(LIBRARY_OBJS)
|
||||||
-rm -f $@
|
-rm -f $@
|
||||||
$(AR) $(ARFLAGS) $@ $^
|
$(AR) $(ARFLAGS) $@ $(LIBRARY_OBJS)
|
||||||
|
|
||||||
libpython$(LDVERSION).so: $(LIBRARY_OBJS)
|
libpython$(LDVERSION).so: $(LIBRARY_OBJS)
|
||||||
if test $(INSTSONAME) != $(LDLIBRARY); then \
|
if test $(INSTSONAME) != $(LDLIBRARY); then \
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue