diff --git a/toolchain/eglibc/Makefile b/toolchain/eglibc/Makefile index dff7e48528d..d237f4e123a 100644 --- a/toolchain/eglibc/Makefile +++ b/toolchain/eglibc/Makefile @@ -51,6 +51,7 @@ EGLIBC_CONFIGURE:= \ BUILD_CC="$(HOSTCC)" \ $(TARGET_CONFIGURE_OPTS) \ CFLAGS="$(EGLIBC_CFLAGS)" \ + libc_cv_slibdir="/lib" \ $(HOST_BUILD_DIR)/libc/configure \ --prefix=/usr \ --build=$(GNU_HOST_NAME) \ diff --git a/toolchain/glibc/Makefile b/toolchain/glibc/Makefile index 1f715b9d451..229f20649e4 100644 --- a/toolchain/glibc/Makefile +++ b/toolchain/glibc/Makefile @@ -52,6 +52,7 @@ GLIBC_CONFIGURE:= \ libc_cv_forced_unwind=yes \ libc_cv_c_cleanup=yes \ libc_cv_386_tls=yes \ + libc_cv_slibdir="/lib" \ $(HOST_BUILD_DIR)/configure \ --prefix=/usr \ --build=$(GNU_HOST_NAME) \