Commit c492abf9 authored by Jörg Krause's avatar Jörg Krause Committed by Peter Korsgaard
Browse files

package/musl: fix C library installation directory

Set the installation path for the libraries to /lib instead of /usr/lib.

This fixes an issue when building a toolchain with the musl library by
the internal toolchain backend of Buildroot in the first step and import this
toolchain later as a custom external toolchain in a second step. For this use
case check-musl in toolchain/helpers.mk failed because it did not find the
libc or libm in sysroot/lib.

This patch superseeds: [PATCH 1/1] toolchain/helpers.mk: fix check-musl
http://patchwork.ozlabs.org/patch/417587/



Signed-off-by: default avatarJörg Krause <jkrause@posteo.de>
Signed-off-by: default avatarPeter Korsgaard <peter@korsgaard.com>
parent 9289dc56
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -27,6 +27,7 @@ define MUSL_CONFIGURE_CMDS
			--target=$(GNU_TARGET_NAME) \
			--host=$(GNU_TARGET_NAME) \
			--prefix=/usr \
			--libdir=/lib \
			--disable-gcc-wrapper)
endef