[libvirt] [PATCH 01/10] Only build server side drivers as modules

Eric Blake eblake at redhat.com
Wed May 23 22:57:47 UTC 2012


On 05/23/2012 09:32 AM, Daniel P. Berrange wrote:
> On Mon, May 21, 2012 at 08:59:09PM +0100, Daniel P. Berrange wrote:

> 
> This is the cause of the XenAPI build failure noted in patch 3.
> Those 2 lines inside the if WITH_DRIVER_MODULES should have
> also been deleted as they were for other entries, eg:
> 
>>  libvirt_driver_esx_la_CFLAGS = $(LIBCURL_CFLAGS) \
>>  		-I$(top_srcdir)/src/conf -I$(top_srcdir)/src/vmx $(AM_CFLAGS)
>>  libvirt_driver_esx_la_LDFLAGS = $(AM_LDFLAGS)
>>  libvirt_driver_esx_la_LIBADD = $(LIBCURL_LIBS)
>> -if WITH_DRIVER_MODULES
>> -libvirt_driver_esx_la_LIBADD += ../gnulib/lib/libgnu.la
>> -libvirt_driver_esx_la_LDFLAGS += -module -avoid-version
>> -endif

Yep, I confirmed that with this tweak, the rest of the series worked for
me with an in-tree build (again, see patch 7 for my concerns that we're
still a bit too hard-coded for unusual VPATH setups).

-- 
Eric Blake   eblake at redhat.com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 620 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20120523/618ed0c8/attachment-0001.sig>


More information about the libvir-list mailing list