diff options
Diffstat (limited to 'abuild.in')
-rwxr-xr-x | abuild.in | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -637,7 +637,7 @@ mod() { # predefined splitfunc dev default_dev() { - local i + local i= j= depends="$pkgname $depends_dev" install="$install_dev" triggers="$triggers_dev" @@ -658,6 +658,13 @@ default_dev() { rmdir "$pkgdir/${i%/*}" 2>/dev/null fi done + # move *.so links needed when linking the apps to -dev packages + for i in lib/*.so usr/lib/*.so; do + if [ -L "$i" ]; then + mkdir -p "$subpkgdir"/"${i%/*}" + mv "$i" "$subpkgdir/$i" || return 1 + fi + done return 0 } |