提交 f97d02d7 编写于 作者: E Eric Blake

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.
上级 cd8f8c8d
...@@ -1006,7 +1006,7 @@ noinst_LTLIBRARIES += libvirt_driver_network.la ...@@ -1006,7 +1006,7 @@ noinst_LTLIBRARIES += libvirt_driver_network.la
endif endif
libvirt_driver_network_impl_la_CFLAGS = \ libvirt_driver_network_impl_la_CFLAGS = \
$(LIBNL_CFLAGS) \ $(LIBNL_CFLAGS) $(DBUS_CFLAGS) \
-I$(top_srcdir)/src/conf $(AM_CFLAGS) $(DBUS_CFLAGS) -I$(top_srcdir)/src/conf $(AM_CFLAGS) $(DBUS_CFLAGS)
libvirt_driver_network_impl_la_SOURCES = $(NETWORK_DRIVER_SOURCES) libvirt_driver_network_impl_la_SOURCES = $(NETWORK_DRIVER_SOURCES)
endif endif
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册