summaryrefslogtreecommitdiff
path: root/meta-openembedded/meta-networking/recipes-support/libesmtp/libesmtp_1.1.0.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta-openembedded/meta-networking/recipes-support/libesmtp/libesmtp_1.1.0.bb')
-rw-r--r--meta-openembedded/meta-networking/recipes-support/libesmtp/libesmtp_1.1.0.bb4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta-openembedded/meta-networking/recipes-support/libesmtp/libesmtp_1.1.0.bb b/meta-openembedded/meta-networking/recipes-support/libesmtp/libesmtp_1.1.0.bb
index 164c8c2612..3d0764a3b9 100644
--- a/meta-openembedded/meta-networking/recipes-support/libesmtp/libesmtp_1.1.0.bb
+++ b/meta-openembedded/meta-networking/recipes-support/libesmtp/libesmtp_1.1.0.bb
@@ -32,5 +32,9 @@ EXTRA_OEMESON = " \
CFLAGS += "-D_GNU_SOURCE"
+do_configure:prepend:libc-glibc() {
+ sed -i -e "s/conf.set('HAVE_WORKING_STRERROR_R', 0)/conf.set('HAVE_WORKING_STRERROR_R', 1)/g" ${S}/meson.build
+}
+
FILES:${PN} = "${libdir}/lib*${SOLIBS} \
${libdir}/esmtp-plugins-6.2.0/*${SOLIBSDEV}"