mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-03 11:35:19 +00:00
src: remove WITH_LIBVIRTD condition around hal/udev build
Currently building --without-libvirtd causes a failure to link the node device driver: node_device/.libs/libvirt_driver_nodedev_la-node_device_driver.o: In function `nodedevRegister': /home/berrange/src/virt/libvirt/src/node_device/node_device_driver.c:649: undefined reference to `udevNodeRegister' collect2: error: ld returned 1 exit status because it causes us to build the core nodedev driver, but then skip the implementations, despite udev being available. Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
parent
f565321b26
commit
b7d0e27238
@ -1863,7 +1863,6 @@ libvirt_driver_nodedev_la_CFLAGS = \
|
|||||||
libvirt_driver_nodedev_la_LDFLAGS = $(AM_LDFLAGS_MOD_NOUNDEF)
|
libvirt_driver_nodedev_la_LDFLAGS = $(AM_LDFLAGS_MOD_NOUNDEF)
|
||||||
libvirt_driver_nodedev_la_LIBADD =
|
libvirt_driver_nodedev_la_LIBADD =
|
||||||
|
|
||||||
if WITH_LIBVIRTD
|
|
||||||
if WITH_HAL
|
if WITH_HAL
|
||||||
libvirt_driver_nodedev_la_SOURCES += $(NODE_DEVICE_DRIVER_HAL_SOURCES)
|
libvirt_driver_nodedev_la_SOURCES += $(NODE_DEVICE_DRIVER_HAL_SOURCES)
|
||||||
libvirt_driver_nodedev_la_CFLAGS += $(HAL_CFLAGS)
|
libvirt_driver_nodedev_la_CFLAGS += $(HAL_CFLAGS)
|
||||||
@ -1874,7 +1873,6 @@ libvirt_driver_nodedev_la_SOURCES += $(NODE_DEVICE_DRIVER_UDEV_SOURCES)
|
|||||||
libvirt_driver_nodedev_la_CFLAGS += $(UDEV_CFLAGS) $(PCIACCESS_CFLAGS)
|
libvirt_driver_nodedev_la_CFLAGS += $(UDEV_CFLAGS) $(PCIACCESS_CFLAGS)
|
||||||
libvirt_driver_nodedev_la_LIBADD += $(UDEV_LIBS) $(PCIACCESS_LIBS)
|
libvirt_driver_nodedev_la_LIBADD += $(UDEV_LIBS) $(PCIACCESS_LIBS)
|
||||||
endif WITH_UDEV
|
endif WITH_UDEV
|
||||||
endif WITH_LIBVIRTD
|
|
||||||
|
|
||||||
libvirt_driver_nodedev_la_LIBADD += libvirt.la ../gnulib/lib/libgnu.la
|
libvirt_driver_nodedev_la_LIBADD += libvirt.la ../gnulib/lib/libgnu.la
|
||||||
endif WITH_NODE_DEVICES
|
endif WITH_NODE_DEVICES
|
||||||
|
Loading…
Reference in New Issue
Block a user