[libvirt] [PATCH 12/15] bootstrap: Enable copy-mode for MinGW builds

Matthias Bolte matthias.bolte at googlemail.com
Mon Mar 22 01:25:42 UTC 2010


MSYS' ln doesn't work well in the way bootstrap uses it with relative paths.
---
 bootstrap.conf |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/bootstrap.conf b/bootstrap.conf
index be4ad21..d55dc71 100644
--- a/bootstrap.conf
+++ b/bootstrap.conf
@@ -74,6 +74,12 @@ MSGID_BUGS_ADDRESS=libvir-list at 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),
-- 
1.6.3.3




More information about the libvir-list mailing list