HP-UX: shared libraries MUST be +x and SHOULD be -w.
[openssl.git] / Makefile.org
index 7d0280bb39ab6ec79d7fe48609400ccb76485da4..2b7ed298094309edc2bf1c7aecd1d4db584e0b5a 100644 (file)
@@ -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