Add the 'secure-api' PACKAGECONFIG and enable it by default. The 'secure-api' feature enables the secure string functions that are provided in the MS C Runtime e.g. "strerror_s".
These functions are needed for glib-2.0 compilation. Signed-off-by: Nathan Rossi <nat...@nathanrossi.com> --- recipes-devtools/mingw-w64/nativesdk-mingw-w64-headers_3.1.0.bb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/recipes-devtools/mingw-w64/nativesdk-mingw-w64-headers_3.1.0.bb b/recipes-devtools/mingw-w64/nativesdk-mingw-w64-headers_3.1.0.bb index 06312d604e..5cd4e34e09 100644 --- a/recipes-devtools/mingw-w64/nativesdk-mingw-w64-headers_3.1.0.bb +++ b/recipes-devtools/mingw-w64/nativesdk-mingw-w64-headers_3.1.0.bb @@ -18,6 +18,10 @@ inherit autotools nativesdk INHIBIT_DEFAULT_DEPS = "1" DEPENDS = "" +PACKAGECONFIG ??= "secure-api" + +PACKAGECONFIG[secure-api] = "--enable-secure-api,--disable-secure-api" + do_configure() { oe_runconf } -- 2.11.0 -- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto