diff options
author | Benjamin Peterson <benjamin@python.org> | 2017-09-29 16:26:48 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-09-29 16:26:48 (GMT) |
commit | 6fb0e4a6d085ffa4e4a6daaea042a1cc517fa8bc (patch) | |
tree | 1f0c7c45383d3590f43ec7a05ce223944560ac24 /Makefile.pre.in | |
parent | d15108a4789aa1e3c12b2890b770550c90a30913 (diff) | |
download | cpython-6fb0e4a6d085ffa4e4a6daaea042a1cc517fa8bc.zip cpython-6fb0e4a6d085ffa4e4a6daaea042a1cc517fa8bc.tar.gz cpython-6fb0e4a6d085ffa4e4a6daaea042a1cc517fa8bc.tar.bz2 |
explicitly list objects for the ar command (#3824)
$^ is not portable.
closes bpo-31625
Diffstat (limited to 'Makefile.pre.in')
-rw-r--r-- | Makefile.pre.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.pre.in b/Makefile.pre.in index 90eecd8..e8df8f7 100644 --- a/Makefile.pre.in +++ b/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 \ |