]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Avoid link errors with "configure --disable-shared".
authorJim Meyering <meyering@redhat.com>
Thu, 28 Feb 2008 17:06:32 +0000 (17:06 +0000)
committerJim Meyering <meyering@redhat.com>
Thu, 28 Feb 2008 17:06:32 +0000 (17:06 +0000)
commit9262d88e288e2edff0bcc96f9cd11e95dabea9d1
tree2f86a3a4cfaaa08c44ac9d652096f3b3e0ebc311
parent004ff9048320b92e67e038a7107f768a95ec8bb7
Avoid link errors with "configure --disable-shared".

* src/Makefile.am: Create a convenience library, libvirt_test.la,
and don't restrict access to *its* symbols.
* tests/Makefile.am (LDADDS): Add ../src/libvirt_test.la, so that
"configure --disable-shared" no longer provokes link errors.
(LIBVIRT): Remove definition.
(LDADDS): Remove use.
($(LIBVIRT)): Remove rule.
(LDADDS): Use the new convenience library instead.
(CLEANFILES): Define.
* docs/examples/index.py (dump_Makefile): Append $(COVERAGE_LDFLAGS),
to the LDADDS definition, to avoid link error with the combination of
--enable-test-coverage and --disable-shared.
* docs/examples/Makefile.am: Regenerate.
* docs/examples/index.html: Likewise.
* qemud/Makefile.am (libvirtd_LDFLAGS): Append $(COVERAGE_LDFLAGS).
* src/libvirt_sym.version: Remove some SP-before-TAB.
ChangeLog
docs/examples/Makefile.am
docs/examples/index.html
docs/examples/index.py
qemud/Makefile.am
src/Makefile.am
src/libvirt_sym.version
tests/Makefile.am