From 0b237a9d06a718339baaf4ad6e084f37292052a0 Mon Sep 17 00:00:00 2001 From: Rainer Jung Date: Wed, 1 Feb 2012 11:16:34 +0000 Subject: [PATCH] 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 --- build/special.mk | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/build/special.mk b/build/special.mk index 66c9c7c8ce..53b880dd56 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: -- 2.50.1