From: Khem Raj <[email protected]>

Signed-off-by: Khem Raj <[email protected]>
(cherry picked from commit 9a06629463ebe8217a30011f9e94127a324d895c)
Signed-off-by: Armin Kuster <[email protected]>
---
 meta-networking/recipes-support/unbound/unbound_1.17.1.bb | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/meta-networking/recipes-support/unbound/unbound_1.17.1.bb 
b/meta-networking/recipes-support/unbound/unbound_1.17.1.bb
index 24ac6012b5..9855a557a4 100644
--- a/meta-networking/recipes-support/unbound/unbound_1.17.1.bb
+++ b/meta-networking/recipes-support/unbound/unbound_1.17.1.bb
@@ -29,6 +29,10 @@ PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 
'systemd', d)}"
 PACKAGECONFIG[dnscrypt] = "--enable-dnscrypt, --disable-dnscrypt, libsodium"
 PACKAGECONFIG[systemd] = "--enable-systemd,--disable-systemd,systemd"
 
+do_configure:append() {
+       sed -i -e 's#${RECIPE_SYSROOT}##g' ${B}/config.h
+}
+
 do_install:append() {
        install -d ${D}${systemd_unitdir}/system
        install -m 0644 ${B}/contrib/unbound.service 
${D}${systemd_unitdir}/system
-- 
2.25.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#103052): 
https://lists.openembedded.org/g/openembedded-devel/message/103052
Mute This Topic: https://lists.openembedded.org/mt/99239772/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to