Browse Source

musl: fixed to create a libc.so symlink to avoid libtool's attempt linking shared libs against libc.a in certain cases

stable/0.6
Christian Wiese 11 years ago
parent
commit
9267d083be
  1. 4
      base/musl/musl.conf

4
base/musl/musl.conf

@ -35,6 +35,10 @@ if [ "$SDECFG_LIBC" == "musl" ]; then
var_append extraconfopt ' ' "--disable-gcc-wrapper"
if ! atstage toolchain; then
# create a libc.so symlink to avoid libtool's attempt linking
# shared libs against libc.a in certain cases
hook_add postinstall 5 'ln -vsf $( relative_path $root$slibdir/libc.so $root/$prefix$libdir/libc.so ) $root/$prefix$libdir/libc.so'
# create a symlink from ld-musl-$musl_arch.so to ldd
# if the dynlinker was started as "ldd" it will print
# DSO information

Loading…
Cancel
Save