The "execute" permission bit needs to be set for shared libraries on HP-UX.

Bugzilla #10201.
This commit is contained in:
srinivas%netscape.com 1999-07-27 01:52:19 +00:00
parent 83d964c570
commit 1f221e9ee9
4 changed files with 20 additions and 0 deletions

View File

@ -159,7 +159,12 @@ export:: $(TARGETS)
$(INSTALL) -m 444 $(HEADERS) $(DIST)/include
$(INSTALL) -m 444 $(TARGETS) $(DIST)/lib
ifdef SHARED_LIBRARY
ifeq ($(OS_ARCH),HP-UX)
$(INSTALL) -m 755 $(SHARED_LIBRARY) $(DIST)/lib
$(INSTALL) -m 755 $(SHARED_LIBRARY) $(DIST)/bin
else
$(INSTALL) -m 444 $(SHARED_LIBRARY) $(DIST)/bin
endif
ifeq ($(OS_ARCH), OpenVMS)
$(INSTALL) -m 444 $(SHARED_LIBRARY:.$(DLL_SUFFIX)=.vms) $(DIST)/lib
endif

View File

@ -157,7 +157,12 @@ endif
export:: $(TARGETS)
$(INSTALL) -m 444 $(TARGETS) $(DIST)/lib
ifdef SHARED_LIBRARY
ifeq ($(OS_ARCH),HP-UX)
$(INSTALL) -m 755 $(SHARED_LIBRARY) $(DIST)/lib
$(INSTALL) -m 755 $(SHARED_LIBRARY) $(DIST)/bin
else
$(INSTALL) -m 444 $(SHARED_LIBRARY) $(DIST)/bin
endif
ifeq ($(OS_ARCH), OpenVMS)
$(INSTALL) -m 444 $(SHARED_LIBRARY:.$(DLL_SUFFIX)=.vms) $(DIST)/lib
endif

View File

@ -177,6 +177,11 @@ endif
export:: $(TARGETS) $(HEADERS)
$(INSTALL) -m 444 $(HEADERS) $(DIST)/include
$(INSTALL) -m 444 $(TARGETS) $(DIST)/lib
ifeq ($(OS_ARCH),HP-UX)
ifdef SHARED_LIBRARY
$(INSTALL) -m 755 $(SHARED_LIBRARY) $(DIST)/lib
endif
endif
ifeq ($(OS_ARCH),OpenVMS)
$(INSTALL) -m 444 $(SHARED_LIBRARY) $(DIST)/lib
ifdef SHARED_LIBRARY

View File

@ -391,7 +391,12 @@ export:: $(TARGETS)
$(INSTALL) -m 444 $(TARGETS) $(DIST)/lib
ifdef SHARED_LIBRARY
$(INSTALL) -m 444 $(SHARED_LIBRARY) $(DIST)/bin
ifeq ($(OS_ARCH),HP-UX)
$(INSTALL) -m 755 $(SHARED_LIBRARY) $(DIST)/lib
$(INSTALL) -m 755 $(SHARED_LIBRARY) $(DIST)/bin
else
ifeq ($(OS_ARCH), OpenVMS)
endif
$(INSTALL) -m 444 $(SHARED_LIBRARY:.$(DLL_SUFFIX)=.vms) $(DIST)/lib
endif
endif