From: Lutz Jänicke <jaenicke@openssl.org>
Date: Thu, 20 Jun 2002 19:57:23 +0000 (+0000)
Subject: HP-UX: shared libraries MUST be +x and SHOULD be -w.
X-Git-Tag: OpenSSL_0_9_6e~26^2~49
X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=94e19e7111a0335b1417494f016b3a718c3a22c3;p=oweals%2Fopenssl.git

HP-UX: shared libraries MUST be +x and SHOULD be -w.
---

diff --git a/Makefile.org b/Makefile.org
index 7d0280bb39..2b7ed29809 100644
--- a/Makefile.org
+++ b/Makefile.org
@@ -435,6 +435,7 @@ do_hpux-shared:
 		-o lib$$i.sl.${SHLIB_MAJOR}.${SHLIB_MINOR} \
 		+h lib$$i.sl.${SHLIB_MAJOR}.${SHLIB_MINOR} \
 		-Fl lib$$i.a -ldld -lc ) || exit 1; \
+	chmod a=rx lib$$i.sl.${SHLIB_MAJOR}.${SHLIB_MINOR}; \
 	done
 
 # This assumes that GNU utilities are *not* used
@@ -453,6 +454,7 @@ do_hpux64-shared:
 		-o lib$$i.sl.${SHLIB_MAJOR}.${SHLIB_MINOR} \
 		+h lib$$i.sl.${SHLIB_MAJOR}.${SHLIB_MINOR} \
 		+forceload lib$$i.a -ldl -lc ) || exit 1; \
+	chmod a=rx lib$$i.sl.${SHLIB_MAJOR}.${SHLIB_MINOR}; \
 	done
 
 # The following method is said to work on all platforms.  Tests will