]> git.pld-linux.org Git - packages/python3.git/blob - python3-installcompile.patch
python points to python3 now
[packages/python3.git] / python3-installcompile.patch
1 --- a/Makefile.pre.in~  2024-01-12 14:35:45.000000000 +0100
2 +++ b/Makefile.pre.in   2024-01-12 14:40:01.203324556 +0100
3 @@ -1921,7 +1921,7 @@ altinstall: commoninstall
4  .PHONY: commoninstall
5  commoninstall:  check-clean-src @FRAMEWORKALTINSTALLFIRST@ \
6                 altbininstall libinstall inclinstall libainstall \
7 -               sharedinstall altmaninstall @FRAMEWORKALTINSTALLLAST@
8 +               sharedinstall altmaninstall installcompile @FRAMEWORKALTINSTALLLAST@
9  
10  # Install shared libraries enabled by Setup
11  DESTDIRS=      $(exec_prefix) $(LIBDIR) $(BINLIBDEST) $(DESTSHARED)
12 @@ -2316,6 +2316,8 @@ libinstall:       all $(srcdir)/Modules/xxmodu
13         $(INSTALL_DATA) `cat pybuilddir.txt`/_sysconfigdata_$(ABIFLAGS)_$(MACHDEP)_$(MULTIARCH).py \
14                 $(DESTDIR)$(LIBDEST); \
15         $(INSTALL_DATA) $(srcdir)/LICENSE $(DESTDIR)$(LIBDEST)/LICENSE.txt
16 +.PHONY: installcompile
17 +installcompile: libainstall libinstall
18         @ # Build PYC files for the 3 optimization levels (0, 1, 2)
19         -PYTHONPATH=$(DESTDIR)$(LIBDEST) $(RUNSHARED) \
20                 $(PYTHON_FOR_BUILD) -Wi $(DESTDIR)$(LIBDEST)/compileall.py \
This page took 0.102548 seconds and 3 git commands to generate.