Skip to contentSkip to conversation

botan: Define --libdir to fix multilib build issues

PATCH New Khem Raj 1 participant 1 message Mar 18, 2020

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/1 botan: Define --libdir to fix multilib build issues

---
 meta-oe/recipes-crypto/botan/botan_2.13.0.bb | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
meta-oe/recipes-crypto/botan/botan_2.13.0.bb +3 -2
index 0854bd6728..4143264b44 100644
@@ -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 \
Signature · 1 line
2.25.1