Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 6d81747

Browse files
committed
From: Tom Lane <tgl@sss.pgh.pa.us>
HP-UX (all versions) requires shared libraries to have execute permission, and really needs them to be exactly mode 555 for performance reasons. The standard configure/install procedure installs libpq.sl as mode 644, which DOES NOT WORK. The attached patch modifies the makefiles to distinguish INSTL_LIB_OPTS (install mode for ordinary libraries) from INSTL_SHLIB_OPTS (mode for shared libs), and adds a test to configure to set INSTL_SHLIB_OPTS="-m 555" when on HP-UX.
1 parent 1af6b56 commit 6d81747

File tree

5 files changed

+297
-271
lines changed

5 files changed

+297
-271
lines changed

src/Makefile.global.in

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
#
88
#
99
# IDENTIFICATION
10-
# $Header: /cvsroot/pgsql/src/Makefile.global.in,v 1.39 1998/04/12 01:18:35 momjian Exp $
10+
# $Header: /cvsroot/pgsql/src/Makefile.global.in,v 1.40 1998/04/27 14:54:05 scrappy Exp $
1111
#
1212
# NOTES
1313
# Essentially all Postgres make files include this file and use the
@@ -159,6 +159,7 @@ RANLIB= @RANLIB@
159159
INSTLOPTS= @INSTLOPTS@
160160
INSTL_EXE_OPTS= @INSTL_EXE_OPTS@
161161
INSTL_LIB_OPTS= @INSTL_LIB_OPTS@
162+
INSTL_SHLIB_OPTS= @INSTL_SHLIB_OPTS@
162163

163164
##############################################################################
164165
#

0 commit comments

Comments
 (0)