Explorar o código

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 <chris_larson@mentor.com>
Christopher Larson %!s(int64=4) %!d(string=hai) anos
pai
achega
cda7cdd663
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      recipes-external/glibc/glibc-sysroot-setup.inc

+ 1 - 1
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}
 }