summaryrefslogtreecommitdiff
path: root/build-aux/config.rpath
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/config.rpath
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/config.rpath')
-rwxr-xr-xbuild-aux/config.rpath10
1 files changed, 5 insertions, 5 deletions
diff --git a/build-aux/config.rpath b/build-aux/config.rpath
index be202c1a9e..1644dbd619 100755
--- a/build-aux/config.rpath
+++ b/build-aux/config.rpath
@@ -57,7 +57,7 @@ else
aix*)
wl='-Wl,'
;;
- mingw* | cygwin* | pw32* | os2* | cegcc*)
+ mingw* | cygwin* | msys* | pw32* | os2* | cegcc*)
;;
hpux9* | hpux10* | hpux11*)
wl='-Wl,'
@@ -149,7 +149,7 @@ hardcode_direct=no
hardcode_minus_L=no
case "$host_os" in
- cygwin* | mingw* | pw32* | cegcc*)
+ cygwin* | msys* | mingw* | pw32* | cegcc*)
# FIXME: the MSVC++ port hasn't been tested in a loooong time
# When not using gcc, we currently assume that we are using
# Microsoft Visual C++.
@@ -198,7 +198,7 @@ if test "$with_gnu_ld" = yes; then
ld_shlibs=no
fi
;;
- cygwin* | mingw* | pw32* | cegcc*)
+ cygwin* | msys* | mingw* | pw32* | cegcc*)
# hardcode_libdir_flag_spec is actually meaningless, as there is
# no search path for DLLs.
hardcode_libdir_flag_spec='-L$libdir'
@@ -348,7 +348,7 @@ else
;;
bsdi[45]*)
;;
- cygwin* | mingw* | pw32* | cegcc*)
+ cygwin* | msys* | mingw* | pw32* | cegcc*)
# When not using gcc, we currently assume that we are using
# Microsoft Visual C++.
# hardcode_libdir_flag_spec is actually meaningless, as there is
@@ -533,7 +533,7 @@ case "$host_os" in
bsdi[45]*)
library_names_spec='$libname$shrext'
;;
- cygwin* | mingw* | pw32* | cegcc*)
+ cygwin* | msys* | mingw* | pw32* | cegcc*)
shrext=.dll
library_names_spec='$libname.dll.a $libname.lib'
;;