From: Benjamin Peterson Date: Fri, 29 Sep 2017 16:26:48 +0000 (-0700) Subject: explicitly list objects for the ar command (#3824) X-Git-Tag: v3.7.0a2~95 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6fb0e4a6d085ffa4e4a6daaea042a1cc517fa8bc;p=thirdparty%2FPython%2Fcpython.git explicitly list objects for the ar command (#3824) $^ is not portable. closes bpo-31625 --- diff --git a/Makefile.pre.in b/Makefile.pre.in index 90eecd821735..e8df8f7355e8 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 \