aboutsummaryrefslogtreecommitdiff
path: root/common/hooks/pre-pkg/04-generate-runtime-deps.sh
diff options
context:
space:
mode:
Diffstat (limited to 'common/hooks/pre-pkg/04-generate-runtime-deps.sh')
-rw-r--r--common/hooks/pre-pkg/04-generate-runtime-deps.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/common/hooks/pre-pkg/04-generate-runtime-deps.sh b/common/hooks/pre-pkg/04-generate-runtime-deps.sh
index 987b0cece9c..eb19ebfe708 100644
--- a/common/hooks/pre-pkg/04-generate-runtime-deps.sh
+++ b/common/hooks/pre-pkg/04-generate-runtime-deps.sh
@@ -144,7 +144,7 @@ hook() {
if [ "${_pkgname}" != "${pkgname}" ]; then
echo " SONAME: $f <-> ${_sdep}"
- sorequires+="${f}\n"
+ sorequires+="${f} "
else
# Ignore libs by current pkg
echo " SONAME: $f <-> ${_rdep} (ignored)"
@@ -162,9 +162,9 @@ hook() {
store_pkgdestdir_rundeps
for f in ${shlib_requires}; do
- sorequires+="${f}\n"
+ sorequires+="${f} "
done
if [ -n "${sorequires}" ]; then
- echo "${sorequires}" | sort | xargs > ${PKGDESTDIR}/shlib-requires
+ echo "${sorequires}" | xargs -n1 | sort | xargs > ${PKGDESTDIR}/shlib-requires
fi
}