Commit 4a91fce8 authored by Rainer Jung's avatar Rainer Jung
Browse files

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
parent 12ace7b9
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -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: