mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 13:46:49 +00:00
buildsystem: don't dereference LINK_NAME when fixing up sym links
This commit is contained in:
parent
973b437725
commit
bf06da5c6b
@ -431,7 +431,7 @@ done
|
|||||||
for i in $(find "${SYSROOT_PREFIX}" -type l 2>/dev/null); do
|
for i in $(find "${SYSROOT_PREFIX}" -type l 2>/dev/null); do
|
||||||
_tmp="$(readlink -m "${i}")"
|
_tmp="$(readlink -m "${i}")"
|
||||||
if [[ ${_tmp} =~ ^${SYSROOT_PREFIX}/ ]]; then
|
if [[ ${_tmp} =~ ^${SYSROOT_PREFIX}/ ]]; then
|
||||||
ln -sf "${_tmp/${SYSROOT_PREFIX}\//${PKG_ORIG_SYSROOT_PREFIX}\/}" "${i}"
|
ln -sfn "${_tmp/${SYSROOT_PREFIX}\//${PKG_ORIG_SYSROOT_PREFIX}\/}" "${i}"
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user