]> git.ipfire.org Git - thirdparty/libtool.git/commit
Atomic shared library install permissions on HP-UX.
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Sun, 5 Oct 2008 10:35:27 +0000 (12:35 +0200)
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Sun, 5 Oct 2008 10:40:54 +0000 (12:40 +0200)
commit3531d11d42fe0ff7331d5857cba41a35c916d751
tree5895b80f0e8e6f261c232ff08809ae5e26d9a87d
parentd185ad66e6469919022f83eb845b1fc9ab19abec
Atomic shared library install permissions on HP-UX.

The HP-UX 11 runtime linker fails to mmap shared libraries
without execute permissions.  Fixing them with postinstall_cmds
may be too late, as ln, sed, and chmod may link against the
library being installed.

* libltdl/m4/libtool.m4 (install_override_mode): New LT_DECL.
(_LT_SYS_DYNAMIC_LINKER) [hpux9*, hpux10*, hpux11*]: Set it.
* libltdl/config/ltmain.m4sh (func_mode_install): Build a second
command line, $install_shared_prog, for the installation of the
shared library.  Override resp. set the permission mode if
install_override_mode is nonempty.
* doc/libtool.texi (libtool script contents): Document it.
* tests/install.at (Install tests): New test.
* Makefile.am (TESTSUITE_AT): Adjust.
(TESTS_ENVIRONMENT): Pass INSTALL.
Report by Bruno Haible.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
ChangeLog
Makefile.am
doc/libtool.texi
libltdl/config/ltmain.m4sh
libltdl/m4/libtool.m4
tests/install.at [new file with mode: 0644]