From: Rainer Jung Date: Wed, 1 Feb 2012 11:16:34 +0000 (+0000) Subject: Fix parallel installation for static modules X-Git-Tag: 2.5.0-alpha~7512 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=0b237a9d06a718339baaf4ad6e084f37292052a0;p=thirdparty%2Fapache%2Fhttpd.git Fix parallel installation for static modules builds. When "$(shared)" was empty, instdso.sh complained with a Usage message. Don't call instdso, if there's nothing to install. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1239075 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/build/special.mk b/build/special.mk index 66c9c7c8cea..53b880dd569 100644 --- a/build/special.mk +++ b/build/special.mk @@ -27,8 +27,10 @@ INSTALL_TARGETS = install-modules-$(INSTALL_DSO) include $(top_builddir)/build/rules.mk install-modules-yes: $(SHARED_TARGETS) - @$(MKINSTALLDIRS) $(DESTDIR)$(libexecdir) - @$(top_srcdir)/build/instdso.sh SH_LIBTOOL='$(SH_LIBTOOL)' $(shared) $(DESTDIR)$(libexecdir) + @if test -n "$(shared)"; then \ + $(MKINSTALLDIRS) $(DESTDIR)$(libexecdir); \ + $(top_srcdir)/build/instdso.sh SH_LIBTOOL='$(SH_LIBTOOL)' $(shared) $(DESTDIR)$(libexecdir); \ + fi; install-modules-no: