cURL Mailing List Monthly Index Single Mail
curl-library Mailing List Archives
Re: Using libcurl in Windows
> > Dave Dribin post made me realize the problem is that CURL_STATICLIB is
> > not set when '--enable-shared=no' is used.
> Would you be able to write a patch for this?
I think this should do the trick:
diff -ru curl/configure.ac curl-new/configure.ac
--- curl/configure.ac Tue Apr 19 07:23:08 2005
+++ curl-new/configure.ac Wed Apr 20 07:44:10 2005
@@ -122,6 +122,13 @@
AC_DEFINE(BUILDING_LIBCURL, 1, [when building libcurl itself])
+ 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])
Received on 2005-04-20
These mail archives are generated by hypermail.
Page updated November 12, 2010.
File upload with ASP.NET
web site info