mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-04 18:35:24 +01:00
Use relative symlinks for python installs.
This commit is contained in:
parent
26872c01bf
commit
4f9f56f006
7 changed files with 18 additions and 18 deletions
|
|
@ -74,8 +74,8 @@ src_compile() {
|
|||
|
||||
src_install() {
|
||||
default
|
||||
ln -s "${PREFIX}/lib/musl/python3.3/lib-dynload" "${DESTDIR}${PREFIX}/lib/python3.3/lib-dynload"
|
||||
ln -s "${PREFIX}/bin/python3.3" "${DESTDIR}${PREFIX}/bin/python"
|
||||
ln --symbolic --relative "${DESTDIR}${PREFIX}/lib/musl/python3.3/lib-dynload" "${DESTDIR}${PREFIX}/lib/python3.3/lib-dynload"
|
||||
ln --symbolic --relative "${DESTDIR}${PREFIX}/bin/python3.3" "${DESTDIR}${PREFIX}/bin/python"
|
||||
|
||||
# Remove non-reproducible .pyc/o files
|
||||
find "${DESTDIR}" -name "*.pyc" -delete
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue