From: Martin v. Löwis Date: Tue, 18 Nov 2003 19:54:00 +0000 (+0000) Subject: Patch #841807: Check whether a versioned libpython.so symlink is needed X-Git-Tag: v2.3.3c1~55 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fc894eac04932428f1be6611d8763021175e934c;p=thirdparty%2FPython%2Fcpython.git Patch #841807: Check whether a versioned libpython.so symlink is needed in altbininstall. --- 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