summaryrefslogtreecommitdiff
path: root/build-aux/ar-lib
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2019-11-09 12:02:24 -0800
committerPaul Eggert <eggert@cs.ucla.edu>2019-11-09 12:03:38 -0800
commitba23291b7fcee22cacfd83c29de35548b56c2aa3 (patch)
treeaa1d1027f78d112811c1526456d728ed6056b8cd /build-aux/ar-lib
parent969abe7a2569b4bbedb8084cf682c957233993a0 (diff)
downloadgnulib-ba23291b7fcee22cacfd83c29de35548b56c2aa3.tar.gz
config: add msys support
Requested by Arnold Robbins in: https://lists.gnu.org/r/bug-gnulib/2019-11/msg00008.html He also requested a change to config.guess, which I’ll forward upstream. * build-aux/ar-lib (func_file_conv): * build-aux/compile (func_file_conv): * build-aux/config.rpath (wl, with_gnu_ld) (hardcode_libdir_flag_spec, libext, shrext, library_names_spec): Treat msys like cygwin.
Diffstat (limited to 'build-aux/ar-lib')
-rwxr-xr-xbuild-aux/ar-lib4
1 files changed, 2 insertions, 2 deletions
diff --git a/build-aux/ar-lib b/build-aux/ar-lib
index f64465e4f4..be8806a2fe 100755
--- a/build-aux/ar-lib
+++ b/build-aux/ar-lib
@@ -53,7 +53,7 @@ func_file_conv ()
MINGW*)
file_conv=mingw
;;
- CYGWIN*)
+ CYGWIN* | MSYS*)
file_conv=cygwin
;;
*)
@@ -65,7 +65,7 @@ func_file_conv ()
mingw)
file=`cmd //C echo "$file " | sed -e 's/"\(.*\) " *$/\1/'`
;;
- cygwin)
+ cygwin | msys)
file=`cygpath -m "$file" || echo "$file"`
;;
wine)