From 1b26adb83a840ecefe4a1cb511053b773cd31507 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Wed, 24 Aug 2022 22:19:34 -0700 Subject: [PATCH] libesmtp: Define _GNU_SOURCE Needed for strlcpy Signed-off-by: Khem Raj --- meta-networking/recipes-support/libesmtp/libesmtp_1.1.0.bb | 2 ++ 1 file changed, 2 insertions(+) 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 bf1a12d48f..164c8c2612 100644 --- a/meta-networking/recipes-support/libesmtp/libesmtp_1.1.0.bb +++ b/meta-networking/recipes-support/libesmtp/libesmtp_1.1.0.bb @@ -30,5 +30,7 @@ EXTRA_OEMESON = " \ -Dntlm=disabled \ " +CFLAGS += "-D_GNU_SOURCE" + FILES:${PN} = "${libdir}/lib*${SOLIBS} \ ${libdir}/esmtp-plugins-6.2.0/*${SOLIBSDEV}"