From 2f80b2a013ebf3257f26cfe595e5926ae024d02b Mon Sep 17 00:00:00 2001 From: Matthias Bolte Date: Wed, 17 Mar 2010 19:22:50 +0100 Subject: [PATCH] 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 file changed, 6 insertions(+) diff --git a/bootstrap.conf b/bootstrap.conf index fa91f34988..ac2f8e69d3 100644 --- a/bootstrap.conf +++ b/bootstrap.conf @@ -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),