From cda7cdd663c93fd1e99bc2e373f67df925596c37 Mon Sep 17 00:00:00 2001 From: Christopher Larson Date: Mon, 27 Jan 2020 15:41:31 +0000 Subject: [PATCH] glibc-sysroot-setup.inc: avoid hardcoding /usr/lib We have a variable for this, `nonarch_libdir`, and if prefix doesn't match up, the build will fail anyway. Signed-off-by: Christopher Larson --- recipes-external/glibc/glibc-sysroot-setup.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-external/glibc/glibc-sysroot-setup.inc b/recipes-external/glibc/glibc-sysroot-setup.inc index b773de7..6ce8633 100644 --- a/recipes-external/glibc/glibc-sysroot-setup.inc +++ b/recipes-external/glibc/glibc-sysroot-setup.inc @@ -2,5 +2,5 @@ SYSROOT_PREPROCESS_FUNCS += "external_toolchain_sysroot_adjust" external_toolchain_sysroot_adjust() { # If the usr/lib directory doesn't exist, the toolchain fails to even # try to find crti.o in a completely different directory (usr/lib64) - install -d ${SYSROOT_DESTDIR}/usr/lib + install -d ${SYSROOT_DESTDIR}${nonarch_libdir} }