package/musl: fix C library installation directory
authorJörg Krause <jkrause@posteo.de>
Tue, 9 Dec 2014 01:44:35 +0000 (02:44 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Tue, 9 Dec 2014 13:29:35 +0000 (14:29 +0100)
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: Jörg Krause <jkrause@posteo.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/musl/musl.mk

index fb4327da678f670dd401a06e6d9584f500db81fb..3a45575a1bee42f65eb04bb95eb74881c04e3384 100644 (file)
@@ -27,6 +27,7 @@ define MUSL_CONFIGURE_CMDS
                        --target=$(GNU_TARGET_NAME) \
                        --host=$(GNU_TARGET_NAME) \
                        --prefix=/usr \
+                       --libdir=/lib \
                        --disable-gcc-wrapper)
 endef