]> granicus.if.org Git - apache/commitdiff
If mod_so is compiled into the server, we need to create libexec, even
authorRyan Bloom <rbb@apache.org>
Thu, 5 Oct 2000 03:44:22 +0000 (03:44 +0000)
committerRyan Bloom <rbb@apache.org>
Thu, 5 Oct 2000 03:44:22 +0000 (03:44 +0000)
if there are no shared modules compiled.  This is in keeping with what
we did with Apache 1.3, and it allows APXS to work, even if there were no
shared modules installed initially.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@86396 13f79535-47bb-0310-9956-ffa450edef68

build/special.mk

index cabb54fd7247f7b1944faeb153c9fc1048aca084..27a0d864ac524a69545983d8179679c15658d671 100644 (file)
@@ -62,7 +62,7 @@ install_targets = install-modules
 
 install-modules:
        @shared='$(shared)'; \
-       if test -n "$$shared"; then \
+       if [ "x`echo $(static) | grep 'mod_so'`" != "x" ]; then \
                $(MKINSTALLDIRS) $(libexecdir); \
                for i in $$shared; do \
                        $(SH_LIBTOOL) --mode=install cp $$i $(libexecdir); \