]> granicus.if.org Git - python/commitdiff
explicitly list objects for the ar command (#3824)
authorBenjamin Peterson <benjamin@python.org>
Fri, 29 Sep 2017 16:26:48 +0000 (09:26 -0700)
committerGitHub <noreply@github.com>
Fri, 29 Sep 2017 16:26:48 +0000 (09:26 -0700)
$^ is not portable.

closes bpo-31625

Makefile.pre.in

index 90eecd821735038f9c1bad70e168a28f2a948f84..e8df8f7355e89d93bbde7ca8c6fc7843d84a9b44 100644 (file)
@@ -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 \