Commit 94e19e71 authored by Lutz Jänicke's avatar Lutz Jänicke
Browse files

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

parent 04677ce0
Loading
Loading
Loading
Loading
+2 −0
Original line number Original line Diff line number Diff line
@@ -435,6 +435,7 @@ do_hpux-shared:
		-o lib$$i.sl.${SHLIB_MAJOR}.${SHLIB_MINOR} \
		-o lib$$i.sl.${SHLIB_MAJOR}.${SHLIB_MINOR} \
		+h lib$$i.sl.${SHLIB_MAJOR}.${SHLIB_MINOR} \
		+h lib$$i.sl.${SHLIB_MAJOR}.${SHLIB_MINOR} \
		-Fl lib$$i.a -ldld -lc ) || exit 1; \
		-Fl lib$$i.a -ldld -lc ) || exit 1; \
	chmod a=rx lib$$i.sl.${SHLIB_MAJOR}.${SHLIB_MINOR}; \
	done
	done


# This assumes that GNU utilities are *not* used
# This assumes that GNU utilities are *not* used
@@ -453,6 +454,7 @@ do_hpux64-shared:
		-o lib$$i.sl.${SHLIB_MAJOR}.${SHLIB_MINOR} \
		-o lib$$i.sl.${SHLIB_MAJOR}.${SHLIB_MINOR} \
		+h lib$$i.sl.${SHLIB_MAJOR}.${SHLIB_MINOR} \
		+h lib$$i.sl.${SHLIB_MAJOR}.${SHLIB_MINOR} \
		+forceload lib$$i.a -ldl -lc ) || exit 1; \
		+forceload lib$$i.a -ldl -lc ) || exit 1; \
	chmod a=rx lib$$i.sl.${SHLIB_MAJOR}.${SHLIB_MINOR}; \
	done
	done


# The following method is said to work on all platforms.  Tests will
# The following method is said to work on all platforms.  Tests will