Eric Blake 1d22ba953b build: silence libtool during tests
Libtool is picky about linking against a module library (aka a .so);
giving lots of warnings like this in the tests directory:

  CCLD   networkxml2argvtest

*** Warning: Linking the executable networkxml2argvtest against the loadable module
*** libvirt_driver_network.so is not portable!

Fix that by splitting things into a convenience library which can
be used directly by the tests, and making the real .so just wrap
the convenience library.

Based on a suggestion by Daniel P. Berrange.

* configure.ac (--with-driver-modules): Fix help test.
* src/Makefile.am (libvirt_driver_xen.la, libvirt_driver_libxl.la)
(libvirt_driver_qemu.la, libvirt_driver_lxc.la)
(libvirt_driver_uml.la): Factor into new convenience libraries.
* tests/Makefile.am (xen_LDADDS, qemu_LDADDS, lxc_LDADDS)
(networkxml2argvtest_LDADD): Link to convenience libraries, not
shared libraries.
2012-05-28 07:19:25 -06:00
..
2012-05-16 10:23:06 -06:00
2012-04-02 09:33:54 -06:00
2012-04-27 17:25:35 -04:00
2011-12-01 13:49:20 -07:00
2012-05-16 10:23:06 -06:00
2012-05-17 11:12:40 -06:00
2011-12-01 13:49:20 -07:00
2012-05-24 21:09:03 -06:00
2012-04-05 22:07:41 -06:00
2011-12-01 14:12:59 -07:00
2011-12-01 14:12:59 -07:00
2012-04-05 22:07:41 -06:00