OSDN Git Service

From: Tom Lane <tgl@sss.pgh.pa.us>
authorMarc G. Fournier <scrappy@hub.org>
Mon, 27 Apr 1998 14:55:46 +0000 (14:55 +0000)
committerMarc G. Fournier <scrappy@hub.org>
Mon, 27 Apr 1998 14:55:46 +0000 (14:55 +0000)
commit6d817475b243c0b220176b0ee0c631d0b33f97bd
tree0426256cc1f72c287c4daf14b202d615a4a14157
parent1af6b56427fa5afbca88849c428bc872d60ad941
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.
src/Makefile.global.in
src/configure
src/configure.in
src/interfaces/libpgtcl/Makefile.in
src/interfaces/libpq/Makefile.in