diff options
author | Alexey Neyman <stilor@att.net> | 2017-04-07 23:57:17 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-07 23:57:17 (GMT) |
commit | ee7662fa58a7f45ccd3e3520919ee70301ab7648 (patch) | |
tree | 9932090384db260eb6223b50e85ca5dc0a6a553f /scripts/build | |
parent | 16e703a4e5bc9277ce642d5a7a451c7025d495ad (diff) | |
parent | 9a91220aa2730135601f601172b14e9c574154a3 (diff) |
Merge pull request #678 from stilor/fix-secure-api
Fix MINGW_SECURE_API test
Diffstat (limited to 'scripts/build')
-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" |