diff options
Diffstat (limited to 'install-lib-links.mk')
-rw-r--r-- | install-lib-links.mk | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/install-lib-links.mk b/install-lib-links.mk index 5ea73853707..6976ca4911a 100644 --- a/install-lib-links.mk +++ b/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 |