Andres Garcia's fix for building static curl on windows.
This commit is contained in:
@@ -122,6 +122,14 @@ case $host in
|
|||||||
*-*-mingw*)
|
*-*-mingw*)
|
||||||
AC_DEFINE(BUILDING_LIBCURL, 1, [when building libcurl itself])
|
AC_DEFINE(BUILDING_LIBCURL, 1, [when building libcurl itself])
|
||||||
AC_MSG_RESULT(yes)
|
AC_MSG_RESULT(yes)
|
||||||
|
<20> <20>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)
|
||||||
|
<20> <20>else
|
||||||
|
<20> <20> <20>AC_MSG_RESULT(no)
|
||||||
|
fi
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
AC_MSG_RESULT(no)
|
AC_MSG_RESULT(no)
|
||||||
|
|||||||
Reference in New Issue
Block a user