Browse Source

explicitly list objects for the ar command (#3824)

$^ is not portable.

closes bpo-31625
pull/3828/head
Benjamin Peterson 8 years ago
committed by GitHub
parent
commit
6fb0e4a6d0
  1. 2
      Makefile.pre.in

2
Makefile.pre.in

@ -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…
Cancel
Save