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

Re: [Libvir] [PATCH] Avoid link errors with "configure --disable-shared".



On Tue, Jan 29, 2008 at 11:44:30AM +0100, Jim Meyering wrote:
> I tried to build static binaries in the usual libtool way,
> via "configure --disable-shared" and got some link errors
> due to the tests linking only with shared-lib-related files.
> Here's the fix:
> 
> 	Avoid link errors with "configure --disable-shared".
> 	* tests/Makefile.am (LDADDS): Add ../src/libvirt.la, so that
> 	"configure --disable-shared" no longer provokes link errors.

Hmm, we used todo this, but it screwed up the code coverage reports
for the tests which ran virsh. eg, 1/2 the data got stuffed into
src/libvirt_la-nodeinfo.gcno files and the other 1/2 got stuff into
src/.libs/libvirt_la-nodeinfo.gcno and there didn't appear to be any
way to merge them. Any thoughts on that

Dan.
-- 
|=- Red Hat, Engineering, Emerging Technologies, Boston.  +1 978 392 2496 -=|
|=-           Perl modules: http://search.cpan.org/~danberr/              -=|
|=-               Projects: http://freshmeat.net/~danielpb/               -=|
|=-  GnuPG: 7D3B9505   F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505  -=| 


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