]> git.ipfire.org Git - thirdparty/libvirt.git/commit
build: network requires location of dbus headers
authorEric Blake <eblake@redhat.com>
Tue, 21 Aug 2012 20:23:35 +0000 (14:23 -0600)
committerEric Blake <eblake@redhat.com>
Tue, 21 Aug 2012 20:27:38 +0000 (14:27 -0600)
commitf97d02d7be53db63aadae3307cc1bcb1c93389a2
tree48b63fcd8d6585897fc3edc3b426c59bfc8abfc4
parentcd8f8c8de7190ae4da5fb04d08d3e31aae4ab690
build: network requires location of dbus headers

Without this patch, RHEL 5 fails to compile, since the dbus
files lives under /usr/include/dbus-1.0/dbus/dbus.h, and
DBUS_CFLAGS contains -I/usr/include/dbus-1.0.

In file included from network/bridge_driver.c:67:
../src/util/virdbus.h:26:25: error: dbus/dbus.h: No such file or directory

* src/Makefile.am (libvirt_driver_network_impl_la_CFLAGS): Add
DBUS_CFLAGS.
src/Makefile.am