mirror of https://github.com/python/cpython
Patch #841807: Check whether a versioned libpython.so symlink is needed
in altbininstall. Backported to 2.3.
This commit is contained in:
parent
8bafb2aaca
commit
e3be860619
|
@ -615,7 +615,9 @@ altbininstall: $(BUILDPYTHON)
|
||||||
$(INSTALL_SHARED) libpython$(VERSION)$(SO) $(DESTDIR)$(BINDIR); \
|
$(INSTALL_SHARED) libpython$(VERSION)$(SO) $(DESTDIR)$(BINDIR); \
|
||||||
else \
|
else \
|
||||||
$(INSTALL_SHARED) libpython$(VERSION)$(SO) $(DESTDIR)$(LIBDIR)/$(INSTSONAME); \
|
$(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; \
|
fi; \
|
||||||
else true; \
|
else true; \
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue