summaryrefslogtreecommitdiff
path: root/build/special.mk
diff options
context:
space:
mode:
authorRainer Jung <rjung@apache.org>2012-02-01 11:16:34 +0000
committerRainer Jung <rjung@apache.org>2012-02-01 11:16:34 +0000
commit0b237a9d06a718339baaf4ad6e084f37292052a0 (patch)
tree49c9d4052c18717669c0d1a98ff208a7631e4ab9 /build/special.mk
parentab76ab0bb0cb4f361e7f132a236330e7108c694a (diff)
downloadhttpd-0b237a9d06a718339baaf4ad6e084f37292052a0.tar.gz
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
Diffstat (limited to 'build/special.mk')
-rw-r--r--build/special.mk6
1 files 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: