diff --git a/srcpkgs/cross-i686-linux-musl/template b/srcpkgs/cross-i686-linux-musl/template index d613486ee04..8d09e4c7e05 100644 --- a/srcpkgs/cross-i686-linux-musl/template +++ b/srcpkgs/cross-i686-linux-musl/template @@ -237,6 +237,8 @@ do_build() { ln -sfr ${_sysroot}/usr/${f} ${_sysroot}/${f} fi done + ln -sf lib ${_sysroot}/usr/lib32 + ln -sf usr/lib ${_sysroot}/lib32 _binutils_build _gcc_bootstrap @@ -256,6 +258,8 @@ do_install() { ${DESTDIR}/${_sysroot}/${f} fi done + ln -sf lib ${DESTDIR}/${_sysroot}/usr/lib32 + ln -sf usr/lib ${DESTDIR}/${_sysroot}/lib32 # install linux API headers for x86 cd ${wrksrc}/linux-${_linux_version}