Commit 31376482 authored by Natanael Copa's avatar Natanael Copa
Browse files

abuild: move the .so symlinks to -dev packages

Those are needed when linking to the lib and not during runtime.

Having those in the -dev package makes it easier to allow different
versions of same libs to be installed side-by-side.
parent db2be5e5
......@@ -637,7 +637,7 @@ mod() {
# predefined splitfunc dev
default_dev() {
local i
local i= j=
depends="$pkgname $depends_dev"
......@@ -658,6 +658,13 @@ default_dev() {
rmdir "$pkgdir/${i%/*}" 2>/dev/null
# 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
return 0
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment