Patch #841807: Check whether a versioned libpython.so symlink is needed

in altbininstall. Backported to 2.3.
This commit is contained in:
Martin v. Löwis 2003-11-18 19:54:20 +00:00
parent 8bafb2aaca
commit e3be860619

View File

@ -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