1 Remove the python symlink install rules.
3 The python symlink installation will be handled by Buildroot itself, because
4 Buildroot needs to control to what python interpreter (python2 or python3) the
5 python symlink points to.
7 Signed-off-by: Samuel Martin <s.martin49@gmail.com>
8 Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
9 (rebased against version 2.7.12)
11 Index: b/Makefile.pre.in
12 ===================================================================
16 echo "Creating directory $(LIBPC)"; \
17 $(INSTALL) -d -m $(DIRMODE) $(DESTDIR)$(LIBPC); \
19 - -if test -f $(DESTDIR)$(BINDIR)/$(PYTHON) -o -h $(DESTDIR)$(BINDIR)/$(PYTHON); \
20 - then rm -f $(DESTDIR)$(BINDIR)/$(PYTHON); \
23 - (cd $(DESTDIR)$(BINDIR); $(LN) -s python2$(EXE) $(PYTHON))
24 -rm -f $(DESTDIR)$(BINDIR)/python2$(EXE)
25 (cd $(DESTDIR)$(BINDIR); $(LN) -s python$(VERSION)$(EXE) python2$(EXE))
26 -rm -f $(DESTDIR)$(BINDIR)/python2-config
27 (cd $(DESTDIR)$(BINDIR); $(LN) -s python$(VERSION)-config python2-config)
28 - -rm -f $(DESTDIR)$(BINDIR)/python-config
29 - (cd $(DESTDIR)$(BINDIR); $(LN) -s python2-config python-config)
30 -test -d $(DESTDIR)$(LIBPC) || $(INSTALL) -d -m $(DIRMODE) $(DESTDIR)$(LIBPC)
31 -rm -f $(DESTDIR)$(LIBPC)/python2.pc
32 (cd $(DESTDIR)$(LIBPC); $(LN) -s python-$(VERSION).pc python2.pc)