summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.in b/Makefile.in
index 62964a7ccb7d..a18121d200ca 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -224,7 +224,7 @@ distclean : clean compilerplugins-clean
$(BUILDDIR)/instsetoo_native/util/openoffice.lst \
$(BUILDDIR)/lo.xcent \
$(BUILDDIR)/sysui/desktop/macosx/Info.plist
- $(FIND) $(SRCDIR)/solenv/gdb -name \*.pyc -exec rm {} \;
+ $(if $(filter WNT,$(OS)),env -i PATH="$$PATH") $(FIND) $(SRCDIR)/solenv/gdb -name \*.pyc -exec rm {} \;
#
# custom command