diff options
author | Khem Raj <raj.khem@gmail.com> | 2022-09-07 12:36:56 -0700 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2022-09-07 16:44:54 -0700 |
commit | 6d1ac90f3432dd10c44b0ccfd46f01e7badbe74b (patch) | |
tree | 574e87c91dce0e190131961bc8bb70b21f7d2cc1 /meta-networking/recipes-support/libesmtp | |
parent | 19c8f38d7047afb880ae96c70e70aa402404c384 (diff) | |
download | meta-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.bb | 4 |
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 | ||
33 | CFLAGS += "-D_GNU_SOURCE" | 33 | CFLAGS += "-D_GNU_SOURCE" |
34 | 34 | ||
35 | do_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 | |||
35 | FILES:${PN} = "${libdir}/lib*${SOLIBS} \ | 39 | FILES:${PN} = "${libdir}/lib*${SOLIBS} \ |
36 | ${libdir}/esmtp-plugins-6.2.0/*${SOLIBSDEV}" | 40 | ${libdir}/esmtp-plugins-6.2.0/*${SOLIBSDEV}" |