1 From bddfcbb8a4c011ca2fe471f7a4124cd64b5b0f00 Mon Sep 17 00:00:00 2001
2 From: Samuel Martin <s.martin49@gmail.com>
3 Date: Tue, 7 Mar 2017 22:23:58 +0100
4 Subject: [PATCH] Remove the python symlink install rules
6 The python symlink installation will be handled by Buildroot itself,
7 because Buildroot needs to control to what python interpreter (python2
8 or python3) the python symlink points to.
10 Signed-off-by: Samuel Martin <s.martin49@gmail.com>
11 [Bernd: rebased against version 2.7.12.]
12 Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
14 Makefile.pre.in | 7 -------
15 1 file changed, 7 deletions(-)
17 diff --git a/Makefile.pre.in b/Makefile.pre.in
18 index beb0837..dedcf61 100644
21 @@ -968,17 +968,10 @@ bininstall: altbininstall
22 echo "Creating directory $(LIBPC)"; \
23 $(INSTALL) -d -m $(DIRMODE) $(DESTDIR)$(LIBPC); \
25 - -if test -f $(DESTDIR)$(BINDIR)/$(PYTHON) -o -h $(DESTDIR)$(BINDIR)/$(PYTHON); \
26 - then rm -f $(DESTDIR)$(BINDIR)/$(PYTHON); \
29 - (cd $(DESTDIR)$(BINDIR); $(LN) -s python2$(EXE) $(PYTHON))
30 -rm -f $(DESTDIR)$(BINDIR)/python2$(EXE)
31 (cd $(DESTDIR)$(BINDIR); $(LN) -s python$(VERSION)$(EXE) python2$(EXE))
32 -rm -f $(DESTDIR)$(BINDIR)/python2-config
33 (cd $(DESTDIR)$(BINDIR); $(LN) -s python$(VERSION)-config python2-config)
34 - -rm -f $(DESTDIR)$(BINDIR)/python-config
35 - (cd $(DESTDIR)$(BINDIR); $(LN) -s python2-config python-config)
36 -test -d $(DESTDIR)$(LIBPC) || $(INSTALL) -d -m $(DIRMODE) $(DESTDIR)$(LIBPC)
37 -rm -f $(DESTDIR)$(LIBPC)/python2.pc
38 (cd $(DESTDIR)$(LIBPC); $(LN) -s python-$(VERSION).pc python2.pc)