diff options
author | Joe Orton <jorton@apache.org> | 2004-01-19 22:58:41 +0000 |
---|---|---|
committer | Joe Orton <jorton@apache.org> | 2004-01-19 22:58:41 +0000 |
commit | 722d590399e74970370397d69de149921faf4e9b (patch) | |
tree | f6a46af9161365e0f67f6844da204948621a03a4 /build/special.mk | |
parent | 8787f61c2b912d17dd00e1b0259ef2579012edcf (diff) | |
download | httpd-722d590399e74970370397d69de149921faf4e9b.tar.gz |
Correct use of libtool: libtool convenience libraries which are to be
linked directly into a program must be linked using -static and not
-module. Fixes build issues with libtool HEAD.
* acinclude.m4 (APACHE_MODPATH_ADD): For a static module, use a
filename with a lib prefix.
* build/rules.mk.in (MOD_LINK): Use -static not -module.
* build/special.mk (install-modules): Adjust special-case for
installation of shared modules to look for libso.la not mod_so.la.
* build/library.mk: Link libraries using -static.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102381 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'build/special.mk')
-rw-r--r-- | build/special.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/build/special.mk b/build/special.mk index 7689079f2b..43c279aace 100644 --- a/build/special.mk +++ b/build/special.mk @@ -64,7 +64,7 @@ INSTALL_TARGETS = install-modules install-modules: @test -d $(DESTDIR)$(libexecdir) || $(MKINSTALLDIRS) $(DESTDIR)$(libexecdir) @builtin='$(BUILTIN_LIBS)'; \ - has_mod_so=`echo $$builtin|sed 's/^.*mod_so.*$$/has_mod_so/'`; \ + has_mod_so=`echo $$builtin|sed 's/^.*libso.*$$/has_mod_so/'`; \ if [ "x$$has_mod_so" = "xhas_mod_so" ]; then \ list='$(shared)'; \ for i in $$list; do \ |