diff --git a/abuild.in b/abuild.in index 99000b6..6942811 100644 --- a/abuild.in +++ b/abuild.in @@ -1516,7 +1516,9 @@ trace_apk_deps() { if [ -f "$dir"/.rpaths ]; then local so_files=$(find_so_files "$dir"/.rpaths $missing) \ || return 1 - deppkgs=$($APK $apkroot info --quiet --who-owns $so_files) || return 1 + if [ ! -z $so_files ]; then + deppkgs=$($APK $apkroot info --quiet --who-owns $so_files) || return 1 + fi fi for found in $deppkgs; do