]> xenbits.xensource.com Git - libvirt.git/commitdiff
build: fix cygwin build
authorEric Blake <eblake@redhat.com>
Fri, 14 May 2010 21:14:58 +0000 (15:14 -0600)
committerEric Blake <eblake@redhat.com>
Fri, 14 May 2010 22:03:57 +0000 (16:03 -0600)
make[3]: *** No rule to make target `-lxml2', needed by `libvirt.la'.  Stop.

Due to treating the wrong string as a dependency.

* src/Makefile.am (libvirt_la_DEPENDENCIES): Depend only on
locally-built file, not on strings that might resolve as '-lxml2'.

src/Makefile.am

index 15bc8fcb2be0ab2d65a0b460b71544f6c932c9d6..72f23a7a75427731d714ac752524877e30fb89b8 100644 (file)
@@ -977,7 +977,7 @@ libvirt_la_LIBADD += $(LIBXML_LIBS) \
                    $(DRIVER_MODULE_LIBS) \
                    $(CYGWIN_EXTRA_LIBADD) ../gnulib/lib/libgnu.la
 libvirt_la_CFLAGS = $(COVERAGE_CFLAGS) -DIN_LIBVIRT
-libvirt_la_DEPENDENCIES = $(libvirt_la_LIBADD) $(LIBVIRT_SYMBOL_FILE)
+libvirt_la_DEPENDENCIES = ../gnulib/lib/libgnu.la $(LIBVIRT_SYMBOL_FILE)
 
 # Create an automake "convenience library" version of libvirt_la,
 # just for testing, since the test harness requires access to internal