[oe] [meta-oe][PATCH] botan: Define --libdir to fix multilib build issues

Khem Raj raj.khem at gmail.com
Wed Mar 18 02:45:40 UTC 2020


Signed-off-by: Khem Raj <raj.khem at gmail.com>
---
 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 \
-- 
2.25.1



More information about the Openembedded-devel mailing list