From 955ab0e2c7af71b9c35cc8bbade22015b2ed9ee8 Mon Sep 17 00:00:00 2001 From: Jeff Trawick Date: Tue, 28 Nov 2000 21:37:20 +0000 Subject: [PATCH] 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 --- build/special.mk | 5 +++-- 1 file 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); \ -- 2.50.1