python2: Fix dependencies, make it non-default python
This commit is contained in:
14
mingw-w64-python2/0821-make-python2-non-default-python.patch
Normal file
14
mingw-w64-python2/0821-make-python2-non-default-python.patch
Normal file
@@ -0,0 +1,14 @@
|
||||
--- Python-2.7.16/Makefile.pre.in.orig 2019-07-09 10:06:59.567193900 +0300
|
||||
+++ Python-2.7.16/Makefile.pre.in 2019-07-09 10:08:32.277323700 +0300
|
||||
@@ -996,11 +996,8 @@
|
||||
fi
|
||||
-rm -f $(DESTDIR)$(BINDIR)/python2$(EXE)
|
||||
(cd $(DESTDIR)$(BINDIR); $(LN) -s python$(VERSION)$(EXE) python2$(EXE))
|
||||
- (cd $(DESTDIR)$(BINDIR); $(LN) -s python2$(EXE) $(PYTHON))
|
||||
-rm -f $(DESTDIR)$(BINDIR)/python2-config
|
||||
(cd $(DESTDIR)$(BINDIR); $(LN) -s python$(VERSION)-config python2-config)
|
||||
- -rm -f $(DESTDIR)$(BINDIR)/python-config
|
||||
- (cd $(DESTDIR)$(BINDIR); $(LN) -s python2-config python-config)
|
||||
-test -d $(DESTDIR)$(LIBPC) || $(INSTALL) -d -m $(DIRMODE) $(DESTDIR)$(LIBPC)
|
||||
-rm -f $(DESTDIR)$(LIBPC)/python2.pc
|
||||
(cd $(DESTDIR)$(LIBPC); $(LN) -s python-$(VERSION).pc python2.pc)
|
||||
Reference in New Issue
Block a user