diff --git a/base/musl/musl.conf b/base/musl/musl.conf index b4ad15755..11295b294 100644 --- a/base/musl/musl.conf +++ b/base/musl/musl.conf @@ -14,7 +14,6 @@ # translate $arch for being usable with musl musl_arch="$( echo $arch | arch2uname )" - if [ $prefix_auto == 1 ]; then syslibdir="/lib" fi @@ -67,5 +66,7 @@ if [ "$SDECFG_LIBC" == "musl" ]; then fi # always install the headers even if already present in the sandbox -#hook_add postpatch 9 "touch include/*.h include/*/*.h arch/$musl_arch/*.h arch/$musl_arch/*/*.h" -#var_append makeinstopt ' ' "install-headers" +var_append makeinstopt ' ' "ARCH=$musl_arch install-headers" +# make some weirdo things +var_insert LDFLAGS ' ' "-Wl,-soname,libc.musl-$arch.so.1" +var_append configprefix ' ' "LDFLAGS=\"$LDFLAGS\""