[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [libvirt] [PATCH] build: Add libcurl dependency to libvirt_driver.la



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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]