summaryrefslogtreecommitdiff
path: root/plugins/Makefile
Side-by-side diff
Diffstat (limited to 'plugins/Makefile') (more/less context) (ignore whitespace changes)
-rw-r--r--plugins/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/plugins/Makefile b/plugins/Makefile
index 4863bd0..2515903 100644
--- a/plugins/Makefile
+++ b/plugins/Makefile
@@ -1,3 +1,7 @@
clean:
- find -name "*.so*" -print0 | xargs -0 rm -f
+ifeq ( CONFIG_TARGET_MACOSX, y )
+ find ./ -name "*.dylib*" -print0 | xargs -0 rm -f
+else
+ find ./ -name "*.so*" -print0 | xargs -0 rm -f
+endif