]> xenbits.xensource.com Git - libvirt.git/commitdiff
bootstrap: Enable copy-mode for MinGW builds
authorMatthias Bolte <matthias.bolte@googlemail.com>
Wed, 17 Mar 2010 18:22:50 +0000 (19:22 +0100)
committerMatthias Bolte <matthias.bolte@googlemail.com>
Tue, 23 Mar 2010 01:12:07 +0000 (02:12 +0100)
MSYS' ln doesn't work well in the way bootstrap uses it with relative paths.

bootstrap.conf

index fa91f34988e1955819080025d6f1380437708a53..ac2f8e69d36b6f35eab9ca8439075d1986d489e3 100644 (file)
@@ -73,6 +73,12 @@ MSGID_BUGS_ADDRESS=libvir-list@redhat.com
 COPYRIGHT_HOLDER='Red Hat, Inc.'
 SKIP_PO=true
 
+# Enable copy-mode for MSYS/MinGW. MSYS' ln doesn't work well in the way
+# bootstrap uses it with relative paths.
+if test -n "$MSYSTEM"; then
+    copy=true
+fi
+
 # If "AM_GNU_GETTEXT(external" or "AM_GNU_GETTEXT([external]"
 # appears in configure.ac, exclude some unnecessary files.
 # Without grep's -E option (not portable enough, pre-configure),