From fc894eac04932428f1be6611d8763021175e934c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Martin=20v=2E=20L=C3=B6wis?= Date: Tue, 18 Nov 2003 19:54:00 +0000 Subject: [PATCH] Patch #841807: Check whether a versioned libpython.so symlink is needed in altbininstall. --- Makefile.pre.in | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile.pre.in b/Makefile.pre.in index 457c72a27e55..06ef042e7bcd 100644 --- a/Makefile.pre.in +++ b/Makefile.pre.in @@ -609,7 +609,9 @@ altbininstall: $(BUILDPYTHON) $(INSTALL_SHARED) libpython$(VERSION)$(SO) $(DESTDIR)$(BINDIR); \ else \ $(INSTALL_SHARED) libpython$(VERSION)$(SO) $(DESTDIR)$(LIBDIR)/$(INSTSONAME); \ - (cd $(DESTDIR)$(LIBDIR); $(LN) -sf $(INSTSONAME) libpython$(VERSION)$(SO)); \ + if test libpython$(VERSION)$(SO) != $(INSTSONAME); then \ + (cd $(DESTDIR)$(LIBDIR); $(LN) -sf $(INSTSONAME) libpython$(VERSION)$(SO)); \ + fi \ fi; \ else true; \ fi -- 2.47.3