From: Lutz Jänicke Date: Tue, 14 Nov 2000 11:05:10 +0000 (+0000) Subject: Some platforms (namely HP-UX) require the 'x' bit set for shared libraries. X-Git-Tag: OpenSSL_0_9_6a-beta1~107^2~188 X-Git-Url: https://git.openssl.org/?p=openssl.git;a=commitdiff_plain;h=89c16ab53e9f8742144eef2b627d09b0797e7b87 Some platforms (namely HP-UX) require the 'x' bit set for shared libraries. For performance reasons, it is also recommended to make the (mmap'ed) shared library 'read-only'. -> New permissions for installed shared libraries = 555 This doesn't hurt anybody, provided the installation is performed with 'cp -f' :-) --- diff --git a/Makefile.org b/Makefile.org index 267cb3ad5d..ca16ab09d5 100644 --- a/Makefile.org +++ b/Makefile.org @@ -505,8 +505,8 @@ install: all install_docs do \ if [ -f "$$i" ]; then \ ( echo installing $$i; \ - cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/lib; \ - chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/lib/$$i ); \ + cp -f $$i $(INSTALL_PREFIX)$(INSTALLTOP)/lib; \ + chmod 555 $(INSTALL_PREFIX)$(INSTALLTOP)/lib/$$i ); \ fi \ done; \ ( here="`pwd`"; \