mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
Ensure LXC driver links against libblkid explicitly.
Only libvirt_driver_storage.la links to libblkid currently. If we are running in a scenario with driver modules, LXC must directly link to it, since it can't assume the storage driver is present Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
This commit is contained in:
parent
6cd4b1fe16
commit
ee53a8c8ec
@ -795,6 +795,10 @@ libvirt_driver_lxc_la_CFLAGS = \
|
|||||||
$(LIBNL_CFLAGS) \
|
$(LIBNL_CFLAGS) \
|
||||||
-I$(top_srcdir)/src/conf $(AM_CFLAGS)
|
-I$(top_srcdir)/src/conf $(AM_CFLAGS)
|
||||||
libvirt_driver_lxc_la_LIBADD = $(CAPNG_LIBS) $(LIBNL_LIBS)
|
libvirt_driver_lxc_la_LIBADD = $(CAPNG_LIBS) $(LIBNL_LIBS)
|
||||||
|
if HAVE_LIBBLKID
|
||||||
|
libvirt_driver_lxc_la_CFLAGS += $(BLKID_CFLAGS)
|
||||||
|
libvirt_driver_lxc_la_LIBADD += $(BLKID_LIBS)
|
||||||
|
endif
|
||||||
if WITH_SECDRIVER_SELINUX
|
if WITH_SECDRIVER_SELINUX
|
||||||
libvirt_driver_lxc_la_LIBADD += $(SELINUX_LIBS)
|
libvirt_driver_lxc_la_LIBADD += $(SELINUX_LIBS)
|
||||||
endif
|
endif
|
||||||
|
Loading…
Reference in New Issue
Block a user