summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile.pre.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile.pre.in b/Makefile.pre.in
index 154f6b4..4772ff0 100644
--- a/Makefile.pre.in
+++ b/Makefile.pre.in
@@ -720,6 +720,9 @@ libinstall: $(BUILDPYTHON) $(srcdir)/Lib/$(PLATDIR)
a=$(srcdir)/Lib/$$d; \
if test ! -d $$a; then continue; else true; fi; \
b=$(LIBDEST)/$$d; \
+ if [ `ls $$a | wc -l` -lt 1 ]; then \
+ continue; \
+ fi; \
for i in $$a/*; \
do \
case $$i in \