aboutsummaryrefslogtreecommitdiff
path: root/readline/support/shlib-install
diff options
context:
space:
mode:
Diffstat (limited to 'readline/support/shlib-install')
-rwxr-xr-xreadline/support/shlib-install9
1 files changed, 5 insertions, 4 deletions
diff --git a/readline/support/shlib-install b/readline/support/shlib-install
index 3d0fb3c..cfec3bd 100755
--- a/readline/support/shlib-install
+++ b/readline/support/shlib-install
@@ -66,11 +66,12 @@ fi
# post-install/uninstall
# HP-UX and Darwin/MacOS X require that a shared library have execute permission
-# Linux does, too, and ldd warns about it
+# Linux does, too, and ldd warns about it. Solaris doesn't seem to mind,
+# but ldd still warns about it.
# Cygwin installs both a dll (which must go in $BINDIR) and an implicit
# link library (in $libdir)
case "$host_os" in
-hpux*|darwin*|macosx*|linux*)
+hpux*|darwin*|macosx*|linux*|solaris2*)
if [ -z "$uninstall" ]; then
chmod 555 ${INSTALLDIR}/${LIBNAME}
fi ;;
@@ -131,7 +132,7 @@ case "$host_os-$host_vendor" in
fi
;;
-bsdi4*|*gnu*|darwin*|macosx*|netbsd*)
+bsdi4*|*gnu*|darwin*|macosx*|netbsd*|mirbsd*)
# libname.so.M -> libname.so.M.N
${echo} ${RM} ${INSTALLDIR}/$LINK2
if [ -z "$uninstall" ]; then
@@ -177,7 +178,7 @@ freebsd3*|freebsdaout*)
fi
;;
-freebsd[4-9]*|freebsdelf*|dragonfly*)
+freebsd[4-9]*|freebsd1[0-9]*|freebsdelf*|dragonfly*)
# libname.so -> libname.so.M
${echo} ${RM} ${INSTALLDIR}/$LINK1
if [ -z "$uninstall" ]; then