configure: allow static builds on mingw

This patch is adopted from the MINGW-packages project. It makes it
possible to build curl both shared and static again.

URL: https://github.com/Alexpux/MINGW-packages/tree/master/mingw-w64-curl
This commit is contained in:
Daniel Stenberg 2015-12-20 23:43:46 +01:00
Родитель 5e0e81a9c4
Коммит bd431eef04
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -72,7 +72,7 @@ fi
if test "x$xc_lt_want_enable_shared" = 'xyes' &&
test "x$xc_lt_want_enable_static" = 'xyes'; then
case $host_os in @%:@ (
mingw* | pw32* | cegcc* | os2* | aix*)
pw32* | cegcc* | os2* | aix*)
xc_lt_want_enable_static='no'
;;
esac