diff options
Diffstat (limited to 'misc')
-rw-r--r-- | misc/Makefile.common | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/misc/Makefile.common b/misc/Makefile.common index 399aa54fb..12731103f 100644 --- a/misc/Makefile.common +++ b/misc/Makefile.common @@ -5,8 +5,12 @@ $(XINE_LIB): @cd $(top_srcdir)/src/xine-engine && $(MAKE) install-data-hook: - @if [ -x "$(top_srcdir)/post-install.sh" ] && [ "$$MAKELEVEL" -eq 0 ]; then \ - $(top_srcdir)/post-install.sh; \ + @if test $$MAKELEVEL -le 3 ; then \ + rm -f $(XINE_PLUGINDIR)/*.la ; \ + rm -f $(XINE_PLUGINDIR)/*/*.la ; \ + if test -x "$(top_srcdir)/post-install.sh" ; then \ + $(top_srcdir)/post-install.sh ; \ + fi \ fi debug: |