mingw-w64: add --enable-secure-api

This is needed to update glib to 2.51.1. It uses strerror_s,
which is guarded by MINGW_HAS_SECURE_API.

See http://win-builds.org/bugs/index.php?do=details&task_id=79
See https://sourceforge.net/p/tdm-gcc/bugs/305/
This commit is contained in:
Boris Nagaev 2017-01-29 03:23:21 +01:00
parent 36296ee420
commit dc15900769
1 changed files with 1 additions and 0 deletions

View File

@ -78,6 +78,7 @@ define $(PKG)_BUILD_mingw-w64
--prefix='$(PREFIX)/$(TARGET)' \
--enable-sdk=all \
--enable-idl \
--enable-secure-api \
$(mingw-w64-headers_CONFIGURE_OPTS)
$(MAKE) -C '$(1).headers-build' install