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