build: Ensure we have $(DESTDIR)$(libdir) during parallel install

While install-exec-hook gets normally executed after install and
thus we would have this we need to ensure it here when we want to
be safe regarding parallel install.
This commit is contained in:
Stefan Schmidt 2015-02-25 14:20:16 +01:00
parent c5879dab4d
commit dd6f81ea15
1 changed files with 1 additions and 0 deletions

View File

@ -146,6 +146,7 @@ clean-local:
find . -type f -name check-results.xml -delete
install-exec-hook:
$(MKDIR_P) $(DESTDIR)$(libdir)
for i in $(lib_LTLIBRARIES); do \
FNAME="$(DESTDIR)$(libdir)/`echo $$i | sed "s#lib/.*/##"`"; \
FNAMEEXT="$$FNAME.$$$$"; \