Browse Source

musl: improved to create a symlink from ld-musl-$musl_arch.so to ldd

if the dynlinker was started as "ldd" it will print DSO information
stable/0.6
Christian Wiese 12 years ago
parent
commit
d9a2902aa6
  1. 7
      base/musl/musl.conf

7
base/musl/musl.conf

@ -28,6 +28,13 @@ fi
if [ "$SDECFG_LIBC" == "musl" ]; then
# disable gcc wrapper script
var_append extraconfopt ' ' "--disable-gcc-wrapper"
if ! atstage toolchain; 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'
fi
fi
# always install the headers even if already present in the sandbox

Loading…
Cancel
Save