Fix MINGW_SECURE_API test

Signed-off-by: Alexey Neyman <stilor@att.net>
This commit is contained in:
Alexey Neyman 2017-04-07 13:57:05 -07:00
parent 16e703a4e5
commit 9a91220aa2

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"