Browse Source

musl: improve ldd symlink creation to use $slibdir instead hardcoding /lib

stable/0.6
Christian Wiese 11 years ago
parent
commit
ccef40057f
  1. 2
      base/musl/musl.conf

2
base/musl/musl.conf

@ -38,7 +38,7 @@ if [ "$SDECFG_LIBC" == "musl" ]; then
# create a symlink from ld-musl-$musl_arch.so to ldd
# if the dynlinker was started as "ldd" it will print
# DSO information
hook_add postinstall 5 'ln -vsf $root/lib/ld-musl-$musl_arch.so.1 $root$bindir/ldd'
hook_add postinstall 5 'ln -vsf $root$slibdir/ld-musl-$musl_arch.so.1 $root$bindir/ldd'
fi
fi

Loading…
Cancel
Save