diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2003-11-18 19:54:20 +0000 |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2003-11-18 19:54:20 +0000 |
commit | 0e2dacd0d139c072592197eec210352a1f3d24e3 (patch) | |
tree | 4c1398b802837a7323193c7ef25632f9c3e1ccb4 /Makefile.pre.in | |
parent | 1d5e7a2330593835d1faf461c7581087baf21935 (diff) | |
download | cpython-0e2dacd0d139c072592197eec210352a1f3d24e3.tar.gz |
Patch #841807: Check whether a versioned libpython.so symlink is needed
in altbininstall. Backported to 2.3.
Diffstat (limited to 'Makefile.pre.in')
-rw-r--r-- | Makefile.pre.in | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile.pre.in b/Makefile.pre.in index 3c3c119b91..22856468aa 100644 --- a/Makefile.pre.in +++ b/Makefile.pre.in @@ -615,7 +615,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 |