aboutsummaryrefslogtreecommitdiff
path: root/mesalib/install-lib-links.mk
diff options
context:
space:
mode:
Diffstat (limited to 'mesalib/install-lib-links.mk')
-rw-r--r--mesalib/install-lib-links.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/mesalib/install-lib-links.mk b/mesalib/install-lib-links.mk
index 5ea738537..6976ca491 100644
--- a/mesalib/install-lib-links.mk
+++ b/mesalib/install-lib-links.mk
@@ -14,5 +14,11 @@ all-local : .libs/install-mesa-links
ln -f $$f $(top_builddir)/$(LIB_DIR); \
fi; \
done && touch $@
+
+clean-local:
+ for f in $(notdir $(lib_LTLIBRARIES:%.la=.libs/%.$(LIB_EXT)*)); do \
+ $(RM) $(top_builddir)/$(LIB_DIR)/$$f; \
+ done;
+
endif
endif