]> granicus.if.org Git - python/commitdiff
Issue #28046: Fix the removal of the sysconfigdata module
authorXavier de Gaye <xdegaye@users.sourceforge.net>
Fri, 28 Oct 2016 09:22:05 +0000 (11:22 +0200)
committerXavier de Gaye <xdegaye@users.sourceforge.net>
Fri, 28 Oct 2016 09:22:05 +0000 (11:22 +0200)
from lib-dynload on install.

Makefile.pre.in

index 8e97948237d6cb3433875b758d5856bab7cea551..7ec7ee1a4688020b069c0c7d1255eb01a31744a2 100644 (file)
@@ -1302,8 +1302,6 @@ libinstall:       build_all $(srcdir)/Modules/xxmodule.c
        done
        $(INSTALL_DATA) `cat pybuilddir.txt`/_sysconfigdata_$(ABIFLAGS)_$(MACHDEP)_$(MULTIARCH).py \
                $(DESTDIR)$(LIBDEST); \
-       echo $(INSTALL_DATA) `cat pybuilddir.txt`/_sysconfigdata_$(ABIFLAGS).py \
-               $(LIBDEST)
        $(INSTALL_DATA) $(srcdir)/LICENSE $(DESTDIR)$(LIBDEST)/LICENSE.txt
        if test -d $(DESTDIR)$(LIBDEST)/distutils/tests; then \
                $(INSTALL_DATA) $(srcdir)/Modules/xxmodule.c \
@@ -1437,7 +1435,7 @@ sharedinstall: sharedmods
                --install-scripts=$(BINDIR) \
                --install-platlib=$(DESTSHARED) \
                --root=$(DESTDIR)/
-       -rm $(DESTDIR)$(DESTSHARED)/_sysconfigdata_$(ABIFLAGS).py
+       -rm $(DESTDIR)$(DESTSHARED)/_sysconfigdata_$(ABIFLAGS)_$(MACHDEP)_$(MULTIARCH).py
        -rm -r $(DESTDIR)$(DESTSHARED)/__pycache__
 
 # Here are a couple of targets for MacOSX again, to install a full