diff options
author | Alexey Neyman <stilor@att.net> | 2017-04-07 20:57:05 (GMT) |
---|---|---|
committer | Alexey Neyman <stilor@att.net> | 2017-04-07 20:57:56 (GMT) |
commit | 9a91220aa2730135601f601172b14e9c574154a3 (patch) | |
tree | 9932090384db260eb6223b50e85ca5dc0a6a553f /scripts/build/libc/mingw.sh | |
parent | 16e703a4e5bc9277ce642d5a7a451c7025d495ad (diff) |
Fix MINGW_SECURE_API test
Signed-off-by: Alexey Neyman <stilor@att.net>
Diffstat (limited to 'scripts/build/libc/mingw.sh')
-rw-r--r-- | scripts/build/libc/mingw.sh | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/scripts/build/libc/mingw.sh b/scripts/build/libc/mingw.sh index 2f0dda5..1471785 100644 --- a/scripts/build/libc/mingw.sh +++ b/scripts/build/libc/mingw.sh @@ -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" |