Skip to content

Commit 71a1272

Browse files
committed
make sure mod_foo.so is installed by apxs -i
also, it is the .so file that needs to be executable, not the .la file git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92376 13f79535-47bb-0310-9956-ffa450edef68
1 parent cbd008f commit 71a1272

3 files changed

Lines changed: 8 additions & 5 deletions

File tree

CHANGES

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ Changes with Apache 2.0.30-dev
33
*) Fix bug that could potentially prevent the perchild MPM from
44
working with more than one vhost/uid. [Aaron Bannert]
55

6-
*) Change make install processing of DSO modules to perform special
7-
handling on platforms where libtool doesn't install mod_foo.so.
8-
This fixes some wonkiness on HP-UX, Tru64, and AIX which
9-
prevented standard LoadModule statements from working.
6+
*) Change make install and apxs -i processing of DSO modules to
7+
perform special handling on platforms where libtool doesn't install
8+
mod_foo.so. This fixes some wonkiness on HP-UX, Tru64, and AIX
9+
which prevented standard LoadModule statements from working.
1010
[Jeff Trawick]
1111

1212
*) Whenever mod_so is enabled (not just when there are DSOs for

Makefile.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ install-build:
8383
@sed 's#LIBTOOL = \(.*\)#LIBTOOL = $(SHELL) $(installbuilddir)/libtool $(LTFLAGS)#' \
8484
config_vars.mk > $(installbuilddir)/config_vars.mk; \
8585
cp build/*.mk $(installbuilddir); \
86+
cp build/instdso.sh $(installbuilddir); \
8687
cp srclib/apr/libtool $(installbuilddir); \
8788
if test -f srclib/apr/shlibtool; then \
8889
cp srclib/apr/shlibtool $(installbuilddir); \

support/apxs.in

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -469,8 +469,10 @@ if ($opt_i or $opt_e) {
469469
}
470470
my $t = $f;
471471
$t =~ s|^.+/([^/]+)$|$1|;
472+
$t =~ s|\.la$|\.so|;
472473
if ($opt_i) {
473-
push(@cmds, "$prefix/build/libtool --mode=install cp $f $CFG_LIBEXECDIR/$t");
474+
push(@cmds, "$prefix/build/instdso.sh SH_LIBTOOL='" .
475+
"$prefix/build/libtool' $f $CFG_LIBEXECDIR");
474476
push(@cmds, "chmod 755 $CFG_LIBEXECDIR/$t");
475477
}
476478

0 commit comments

Comments
 (0)