]> xenbits.xensource.com Git - libvirt.git/commitdiff
vmware: Fix undefine symbol with loadable drivers enabled
authorMatthias Bolte <matthias.bolte@googlemail.com>
Tue, 21 Dec 2010 21:47:35 +0000 (22:47 +0100)
committerMatthias Bolte <matthias.bolte@googlemail.com>
Tue, 21 Dec 2010 21:47:35 +0000 (22:47 +0100)
All other drivers are explicitly linked to gnulib. The VMware
driver lacked this, resulting in mdir_name being an undefine
symbol.

Explicitly link the VMware driver to gnulib to fix this.

src/Makefile.am

index 607e39175ef834f17cd89b9e94abde078edf219a..7ecd3e08da4d1b884eafaa6dd7207b38ddd1b572 100644 (file)
@@ -633,6 +633,7 @@ endif
 libvirt_driver_vmware_la_CFLAGS = \
                -I@top_srcdir@/src/conf -I@top_srcdir@/src/vmx
 if WITH_DRIVER_MODULES
+libvirt_driver_vmware_la_LIBADD = ../gnulib/lib/libgnu.la
 libvirt_driver_vmware_la_LDFLAGS = -module -avoid-version
 endif
 libvirt_driver_vmware_la_SOURCES = $(VMWARE_DRIVER_SOURCES)