From c64b204a3a1c732d9b006118bff2820e6881dff8 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Tue, 17 Mar 2020 12:48:32 -0700 Subject: [PATCH] botan: Define --libdir to fix multilib build issues Signed-off-by: Khem Raj --- meta-oe/recipes-crypto/botan/botan_2.13.0.bb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/meta-oe/recipes-crypto/botan/botan_2.13.0.bb b/meta-oe/recipes-crypto/botan/botan_2.13.0.bb index 0854bd6728..4143264b44 100644 --- a/meta-oe/recipes-crypto/botan/botan_2.13.0.bb +++ b/meta-oe/recipes-crypto/botan/botan_2.13.0.bb @@ -19,14 +19,15 @@ CPU_armv7ve = "armv7" do_configure() { python3 ${S}/configure.py \ - --prefix="${D}${prefix}" \ + --prefix="${D}${exec_prefix}" \ + --libdir="${D}${libdir}" \ --cpu="${CPU}" \ --cc-bin="${CXX}" \ --cxxflags="${CXXFLAGS}" \ --ldflags="${LDFLAGS}" \ --with-endian=${@oe.utils.conditional('SITEINFO_ENDIANNESS', 'le', 'little', 'big', d)} \ ${@bb.utils.contains("TUNE_FEATURES","neon","","--disable-neon",d)} \ - --with-sysroot-dir=${STAGING_DIR_TARGET} \ + --with-sysroot-dir=${STAGING_DIR_HOST} \ --with-build-dir="${B}" \ --optimize-for-size \ --with-stack-protector \