bug-readline
[Top][All Lists]
Advanced

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

[Bug-readline] [PATCH] support/shlib-install: install shared libraries 7


From: Thomas Petazzoni
Subject: [Bug-readline] [PATCH] support/shlib-install: install shared libraries 755 instead of 555
Date: Thu, 3 May 2018 23:02:28 +0200

Installing shared libraries 555 means they are read-only, which is
quite uncommon. Most build systems install shared libraries 755. This
for example allows post-processing of the library, such as stripping
with 'strip'.

Signed-off-by: Thomas Petazzoni <address@hidden>
---
 support/shlib-install | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/support/shlib-install b/support/shlib-install
index cfec3bd..f4eea27 100755
--- a/support/shlib-install
+++ b/support/shlib-install
@@ -73,7 +73,7 @@ fi
 case "$host_os" in
 hpux*|darwin*|macosx*|linux*|solaris2*)
        if [ -z "$uninstall" ]; then
-               chmod 555 ${INSTALLDIR}/${LIBNAME}
+               chmod 755 ${INSTALLDIR}/${LIBNAME}
        fi ;;
 cygwin*|mingw*)
        IMPLIBNAME=`echo ${LIBNAME} \
-- 
2.14.3




reply via email to

[Prev in Thread] Current Thread [Next in Thread]