build: Ensure libdir exists before installing to it

This commit is contained in:
Colin Walters 2011-11-03 14:42:07 -04:00
parent 683642ba54
commit 6f8f8295c0

View File

@ -770,6 +770,7 @@ libclutter_@CLUTTER_API_VERSION@_la_LDFLAGS = \
$(NULL)
install-exec-local:
test -z "$(libdir)" || $(MKDIR_P) "$(DESTDIR)$(libdir)"
for lib in `echo $(compat_libs)`; do \
(cd $(DESTDIR)$(libdir) && \
rm -f $$lib.0.$(CLUTTER_LT_CURRENT).$(CLUTTER_LT_REVISION); \