summaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-support/libesmtp
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2022-09-07 12:36:56 -0700
committerKhem Raj <raj.khem@gmail.com>2022-09-07 16:44:54 -0700
commit6d1ac90f3432dd10c44b0ccfd46f01e7badbe74b (patch)
tree574e87c91dce0e190131961bc8bb70b21f7d2cc1 /meta-networking/recipes-support/libesmtp
parent19c8f38d7047afb880ae96c70e70aa402404c384 (diff)
downloadmeta-openembedded-6d1ac90f3432dd10c44b0ccfd46f01e7badbe74b.tar.gz
libesmtp: Enable gnu strerror_r on glibc
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-networking/recipes-support/libesmtp')
-rw-r--r--meta-networking/recipes-support/libesmtp/libesmtp_1.1.0.bb4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta-networking/recipes-support/libesmtp/libesmtp_1.1.0.bb b/meta-networking/recipes-support/libesmtp/libesmtp_1.1.0.bb
index 164c8c261..3d0764a3b 100644
--- a/meta-networking/recipes-support/libesmtp/libesmtp_1.1.0.bb
+++ b/meta-networking/recipes-support/libesmtp/libesmtp_1.1.0.bb
@@ -32,5 +32,9 @@ EXTRA_OEMESON = " \
32 32
33CFLAGS += "-D_GNU_SOURCE" 33CFLAGS += "-D_GNU_SOURCE"
34 34
35do_configure:prepend:libc-glibc() {
36 sed -i -e "s/conf.set('HAVE_WORKING_STRERROR_R', 0)/conf.set('HAVE_WORKING_STRERROR_R', 1)/g" ${S}/meson.build
37}
38
35FILES:${PN} = "${libdir}/lib*${SOLIBS} \ 39FILES:${PN} = "${libdir}/lib*${SOLIBS} \
36 ${libdir}/esmtp-plugins-6.2.0/*${SOLIBSDEV}" 40 ${libdir}/esmtp-plugins-6.2.0/*${SOLIBSDEV}"