diff options
author | Guido van Rossum <guido@python.org> | 1996-08-20 19:46:35 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1996-08-20 19:46:35 (GMT) |
commit | cde317ae624c6c8c81da20b7ca099e10c34917f6 (patch) | |
tree | 050be01b3d1fb8b9c4c3504249a512048d943041 /Modules | |
parent | 1fd5b21425edb645a9afa0c0d875486eee210f36 (diff) | |
download | cpython-cde317ae624c6c8c81da20b7ca099e10c34917f6.zip cpython-cde317ae624c6c8c81da20b7ca099e10c34917f6.tar.gz cpython-cde317ae624c6c8c81da20b7ca099e10c34917f6.tar.bz2 |
Install shared libs with executable mode -- needed for HPUX,
doesn't hurt elsewhere.
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/Makefile.pre.in | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Modules/Makefile.pre.in b/Modules/Makefile.pre.in index 0010d4e..393e076 100644 --- a/Modules/Makefile.pre.in +++ b/Modules/Makefile.pre.in @@ -64,6 +64,9 @@ DESTSHARED= $(BINLIBDEST)/sharedmodules INSTALL= @srcdir@/../install-sh -c INSTALL_PROGRAM=${INSTALL} -m 755 INSTALL_DATA= ${INSTALL} -m 644 +# Shared libraries must be installed with executable mode on some systems; +# rather than figuring out exactly which, we always give them executable mode. +INSTALL_SHARED= ${INSTALL} -m 755 # === Variables that are customizable by hand or by inclusion in Setup === @@ -199,7 +202,7 @@ sharedmods: $(SHAREDMODS) sharedinstall: $(DESTSHARED) $(SHAREDMODS) -for i in X $(SHAREDMODS); do \ if test $$i != X; \ - then $(INSTALL_DATA) $$i $(DESTSHARED)/$$i; \ + then $(INSTALL_SHARED) $$i $(DESTSHARED)/$$i; \ fi; \ done |