summaryrefslogtreecommitdiff
path: root/build/special.mk
diff options
context:
space:
mode:
authorJeff Trawick <trawick@apache.org>2000-11-28 21:37:20 +0000
committerJeff Trawick <trawick@apache.org>2000-11-28 21:37:20 +0000
commitd35076a28b3f76c9a58dc8a7ca4a54300097cd52 (patch)
treea071667fc95c0bfa9d63cd3c150b637003ca887a /build/special.mk
parent6b7491bec44ea8b24ac05dffe758c15b59e32aa8 (diff)
downloadhttpd-d35076a28b3f76c9a58dc8a7ca4a54300097cd52.tar.gz
Get "make install" with DSOs to work on AIX and Solaris. A recent
change by me to get "make install" to work at all on Tru64 caused this problem. This change has been tested with and without DSOs on AIX, Tru64, Solaris 8 (UltraSparc), and RedHat 6.0. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87109 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'build/special.mk')
-rw-r--r--build/special.mk5
1 files changed, 3 insertions, 2 deletions
diff --git a/build/special.mk b/build/special.mk
index df55ff493e..ca5f5d19d8 100644
--- a/build/special.mk
+++ b/build/special.mk
@@ -61,9 +61,10 @@ targets = $(static) $(shared)
install_targets = install-modules
install-modules:
- -@has_mod_so=`echo $(static) | grep 'mod_so'`
@shared='$(shared)'; \
- if [ "x$(has_mod_so)" != "x" ]; then \
+ static='$(static)'; \
+ has_mod_so=`echo $$static|sed 's/^.*mod_so.*$$/has_mod_so/'`; \
+ if [ "x$$has_mod_so" = "xhas_mod_so" ]; then \
$(MKINSTALLDIRS) $(libexecdir); \
for i in $$shared; do \
$(SH_LIBTOOL) --mode=install cp $$i $(libexecdir); \