From: Tom Lane <tgl@sss.pgh.pa.us>
Marc G. Fournier <scrappy@hub.org>
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.
Files
| Path | Change | +/− |
|---|---|---|
| src/configure | modified | +274 −265 |
| src/configure.in | modified | +10 −1 |
| src/interfaces/libpgtcl/Makefile.in | modified | +9 −2 |
| src/interfaces/libpq/Makefile.in | modified | +2 −2 |
| src/Makefile.global.in | modified | +2 −1 |