Re: Using libcurl in Windows
Date: Wed, 20 Apr 2005 15:24:34 +0200
> > 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