python3: Update to 3.7.4, make python3 default python
This commit is contained in:
18
mingw-w64-python3/2040-make-default-python.patch
Normal file
18
mingw-w64-python3/2040-make-default-python.patch
Normal file
@@ -0,0 +1,18 @@
|
||||
--- Python-3.7.4/Makefile.pre.in.orig 2019-07-09 11:16:23.393804800 +0300
|
||||
+++ Python-3.7.4/Makefile.pre.in 2019-07-09 12:15:23.141089200 +0300
|
||||
@@ -1252,12 +1252,15 @@
|
||||
else true; \
|
||||
fi
|
||||
(cd $(DESTDIR)$(BINDIR); $(LN) -s python$(VERSION)$(EXE) python3$(EXE))
|
||||
+ (cd $(DESTDIR)$(BINDIR); $(LN) -s python$(VERSION)$(EXE) python$(EXE))
|
||||
-if test "$(VERSION)" != "$(LDVERSION)"; then \
|
||||
rm -f $(DESTDIR)$(BINDIR)/python$(VERSION)-config; \
|
||||
(cd $(DESTDIR)$(BINDIR); $(LN) -s python$(LDVERSION)-config python$(VERSION)-config); \
|
||||
rm -f $(DESTDIR)$(LIBPC)/python-$(LDVERSION).pc; \
|
||||
(cd $(DESTDIR)$(LIBPC); $(LN) -s python-$(VERSION).pc python-$(LDVERSION).pc); \
|
||||
fi
|
||||
+ -rm -f $(DESTDIR)$(BINDIR)/python-config
|
||||
+ (cd $(DESTDIR)$(BINDIR); $(LN) -s python$(VERSION)-config python-config)
|
||||
-rm -f $(DESTDIR)$(BINDIR)/python3-config
|
||||
(cd $(DESTDIR)$(BINDIR); $(LN) -s python$(VERSION)-config python3-config)
|
||||
-rm -f $(DESTDIR)$(LIBPC)/python3.pc
|
||||
Reference in New Issue
Block a user