From 6bd8366b04811e8bd8ff5a2325a7269d64d46add Mon Sep 17 00:00:00 2001 From: Nathan Rossi Date: Thu, 9 Mar 2017 23:59:31 +1000 Subject: mingw-w64-headers: Add 'secure-api' PACKAGECONFIG 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 --- 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 06312d6..5cd4e34 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 } -- cgit v1.2.3-54-g00ecf