diff --git a/meta-oe/recipes-crypto/botan/botan_3.5.0.bb b/meta-oe/recipes-crypto/botan/botan_3.5.0.bb index d0e9d3e109..3a40680a45 100644 --- a/meta-oe/recipes-crypto/botan/botan_3.5.0.bb +++ b/meta-oe/recipes-crypto/botan/botan_3.5.0.bb @@ -18,8 +18,8 @@ CPU:armv7ve = "armv7" do_configure() { python3 ${S}/configure.py \ - --prefix="${D}${exec_prefix}" \ - --libdir="${D}${libdir}" \ + --prefix="${exec_prefix}" \ + --libdir="${libdir}" \ --cpu="${CPU}" \ --cc-bin="${CXX}" \ --cxxflags="${CXXFLAGS}" \ @@ -39,8 +39,8 @@ do_compile() { oe_runmake } do_install() { - oe_runmake install - sed -i -e "s|${D}||g" ${D}${libdir}/pkgconfig/botan-3.pc + oe_runmake DESTDIR=${D} install + sed -i -e 's|${WORKDIR}||g' ${D}${includedir}/botan-3/botan/build.h } PACKAGES += "${PN}-python3"