
4 Feb
2013
4 Feb
'13
1:41 a.m.
On Fri, Feb 01, 2013 at 01:45:19PM +0100, Jiri Denemark wrote:
libvirt.c calls curl_global_init() if WITH_CURL is defined and thus it should be linked with libcurl. This fixes link failure in case neither xenapi nor esx driver is enabled (they are the only users of libcurl).
In the case we link with libcurl just because user wants it. How about not exposing --with-curl but define WITH_CURL when needs to(xenapi or esx driver is enabled, or both)? -- Regards, Hu Tao