|
|
|
@ -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 |
|
|
|
|