mirror of
https://github.com/openwrt/packages.git
synced 2025-02-07 12:49:50 +00:00
49e3c330d4
Also bumps setuptools to version 24.0 Run tested: aarch64, Dynalink DL-WRX36, Master Branch Maintainer: Jeffery To <jeffery.to@gmail.com> Signed-off-by: Sean Khan <datapronix@protonmail.com>
19 lines
776 B
Diff
19 lines
776 B
Diff
--- a/Makefile.pre.in
|
|
+++ b/Makefile.pre.in
|
|
@@ -2144,6 +2144,7 @@ libinstall: all $(srcdir)/Modules/xxmodu
|
|
$(INSTALL_DATA) $(srcdir)/Modules/xxmodule.c \
|
|
$(DESTDIR)$(LIBDEST)/distutils/tests ; \
|
|
fi
|
|
+ifeq (1,)
|
|
-PYTHONPATH=$(DESTDIR)$(LIBDEST) $(RUNSHARED) \
|
|
$(PYTHON_FOR_BUILD) -Wi $(DESTDIR)$(LIBDEST)/compileall.py \
|
|
-j0 -d $(LIBDEST) -f \
|
|
@@ -2171,6 +2172,7 @@ libinstall: all $(srcdir)/Modules/xxmodu
|
|
$(PYTHON_FOR_BUILD) -Wi -OO $(DESTDIR)$(LIBDEST)/compileall.py \
|
|
-j0 -d $(LIBDEST)/site-packages -f \
|
|
-x badsyntax $(DESTDIR)$(LIBDEST)/site-packages
|
|
+endif
|
|
-PYTHONPATH=$(DESTDIR)$(LIBDEST) $(RUNSHARED) \
|
|
$(PYTHON_FOR_BUILD) -m lib2to3.pgen2.driver $(DESTDIR)$(LIBDEST)/lib2to3/Grammar.txt
|
|
-PYTHONPATH=$(DESTDIR)$(LIBDEST) $(RUNSHARED) \
|