[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

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



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 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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]