mirror of
https://github.com/python/cpython.git
synced 2024-11-23 18:04:37 +08:00
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); \
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user