mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
Fix symlink for 2to3 in framework install. Without this patch an incorrect link is created when DESTDIR is set.
This commit is contained in:
parent
fe8a3d6eeb
commit
8e5bda46ca
1 changed files with 1 additions and 1 deletions
|
@ -132,7 +132,7 @@ install_versionedtools:
|
|||
ln -sf "$${fn}$(VERSION)" "$(DESTDIR)$(prefix)/bin/$${fn}3" ;\
|
||||
done
|
||||
mv "$(DESTDIR)$(prefix)/bin/2to3" "$(DESTDIR)$(prefix)/bin/2to3-$(VERSION)"
|
||||
ln -sf "$(DESTDIR)$(prefix)/bin/2to3-$(VERSION)" "$(DESTDIR)$(prefix)/bin/2to3"
|
||||
ln -sf "2to3-$(VERSION)" "$(DESTDIR)$(prefix)/bin/2to3"
|
||||
if [ ! -h "$(DESTDIR)$(prefix)/bin/python3-config" ]; then \
|
||||
mv "$(DESTDIR)$(prefix)/bin/python3-config" "$(DESTDIR)$(prefix)/bin/python$(VERSION)-config" ;\
|
||||
ln -sf "python$(VERSION)-config" "$(DESTDIR)$(prefix)/bin/python3-config" ; \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue