From: Jeff Trawick Date: Fri, 7 Dec 2001 19:06:58 +0000 (+0000) Subject: make sure mod_foo.so is installed by apxs -i X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=71a12729acf63efc7f7bc01c2da1eabb164d410f;p=apache 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 --- diff --git a/CHANGES b/CHANGES index 6060769421..366b3833ca 100644 --- a/CHANGES +++ b/CHANGES @@ -3,10 +3,10 @@ Changes with Apache 2.0.30-dev *) Fix bug that could potentially prevent the perchild MPM from working with more than one vhost/uid. [Aaron Bannert] - *) Change make install processing of DSO modules to perform special - handling on platforms where libtool doesn't install mod_foo.so. - This fixes some wonkiness on HP-UX, Tru64, and AIX which - prevented standard LoadModule statements from working. + *) Change make install and apxs -i processing of DSO modules to + perform special handling on platforms where libtool doesn't install + mod_foo.so. This fixes some wonkiness on HP-UX, Tru64, and AIX + which prevented standard LoadModule statements from working. [Jeff Trawick] *) Whenever mod_so is enabled (not just when there are DSOs for diff --git a/Makefile.in b/Makefile.in index 4f6e83e6a6..b04fed64d0 100644 --- a/Makefile.in +++ b/Makefile.in @@ -83,6 +83,7 @@ install-build: @sed 's#LIBTOOL = \(.*\)#LIBTOOL = $(SHELL) $(installbuilddir)/libtool $(LTFLAGS)#' \ config_vars.mk > $(installbuilddir)/config_vars.mk; \ cp build/*.mk $(installbuilddir); \ + cp build/instdso.sh $(installbuilddir); \ cp srclib/apr/libtool $(installbuilddir); \ if test -f srclib/apr/shlibtool; then \ cp srclib/apr/shlibtool $(installbuilddir); \ diff --git a/support/apxs.in b/support/apxs.in index c3e2d2e755..98a257a81a 100644 --- a/support/apxs.in +++ b/support/apxs.in @@ -469,8 +469,10 @@ if ($opt_i or $opt_e) { } my $t = $f; $t =~ s|^.+/([^/]+)$|$1|; + $t =~ s|\.la$|\.so|; if ($opt_i) { - push(@cmds, "$prefix/build/libtool --mode=install cp $f $CFG_LIBEXECDIR/$t"); + push(@cmds, "$prefix/build/instdso.sh SH_LIBTOOL='" . + "$prefix/build/libtool' $f $CFG_LIBEXECDIR"); push(@cmds, "chmod 755 $CFG_LIBEXECDIR/$t"); }