mirror of
https://github.com/curl/curl.git
synced 2026-04-28 09:02:17 +03:00
Andres Garcia's fix for building static curl on windows.
This commit is contained in:
parent
543fbe14ee
commit
0bb040822d
1 changed files with 8 additions and 0 deletions
|
|
@ -122,6 +122,14 @@ case $host in
|
|||
*-*-mingw*)
|
||||
AC_DEFINE(BUILDING_LIBCURL, 1, [when building libcurl itself])
|
||||
AC_MSG_RESULT(yes)
|
||||
AC_MSG_CHECKING([if we need CURL_STATICLIB])
|
||||
if test "X$enable_shared" = "Xno"
|
||||
then
|
||||
AC_DEFINE(CURL_STATICLIB, 1, [when not building a shared library])
|
||||
AC_MSG_RESULT(yes)
|
||||
else
|
||||
AC_MSG_RESULT(no)
|
||||
fi
|
||||
;;
|
||||
*)
|
||||
AC_MSG_RESULT(no)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue