mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-04 14:39:54 +00:00
libesmtp: Enable gnu strerror_r on glibc
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
@@ -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}"
|
||||
|
||||
Reference in New Issue
Block a user