Merge pull request #678 from stilor/fix-secure-api

Fix MINGW_SECURE_API test
This commit is contained in:
Alexey Neyman 2017-04-07 16:57:17 -07:00 committed by GitHub
commit ee7662fa58

View File

@ -40,10 +40,9 @@ do_libc_start_files() {
:) ;;
esac
case "${CT_MINGW_SECURE_API}" in
:y) sdk_opts+=( "--enable-secure-api" );;
:) ;;
esac
if [ "${CT_MINGW_SECURE_API}" = "y" ]; then
sdk_opts+=( "--enable-secure-api" )
fi
CT_mkdir_pushd "${CT_BUILD_DIR}/build-mingw-w64-headers"