common/hooks/pre-pkg/04-generate-runtime-deps.sh: fix sorequires
This commit is contained in:
parent
5ec2556004
commit
fb9aef712b
1 changed files with 3 additions and 3 deletions
|
@ -144,7 +144,7 @@ hook() {
|
||||||
|
|
||||||
if [ "${_pkgname}" != "${pkgname}" ]; then
|
if [ "${_pkgname}" != "${pkgname}" ]; then
|
||||||
echo " SONAME: $f <-> ${_sdep}"
|
echo " SONAME: $f <-> ${_sdep}"
|
||||||
sorequires+="${f}\n"
|
sorequires+="${f} "
|
||||||
else
|
else
|
||||||
# Ignore libs by current pkg
|
# Ignore libs by current pkg
|
||||||
echo " SONAME: $f <-> ${_rdep} (ignored)"
|
echo " SONAME: $f <-> ${_rdep} (ignored)"
|
||||||
|
@ -162,9 +162,9 @@ hook() {
|
||||||
store_pkgdestdir_rundeps
|
store_pkgdestdir_rundeps
|
||||||
|
|
||||||
for f in ${shlib_requires}; do
|
for f in ${shlib_requires}; do
|
||||||
sorequires+="${f}\n"
|
sorequires+="${f} "
|
||||||
done
|
done
|
||||||
if [ -n "${sorequires}" ]; then
|
if [ -n "${sorequires}" ]; then
|
||||||
echo "${sorequires}" | sort | xargs > ${PKGDESTDIR}/shlib-requires
|
echo "${sorequires}" | xargs -n1 | sort | xargs > ${PKGDESTDIR}/shlib-requires
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue