Skip to content

Commit 3cf3c1a

Browse files
committed
do a full cleanup on apple silicon
1 parent 38ea2b1 commit 3cf3c1a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/Makefile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,14 +62,16 @@ endif
6262

6363
# Don't call rm -rf.
6464
rmlibdir:
65+
ifeq ($(KALDI_FLAVOR), dynamic)
6566
ifneq ($(KALDILIBDIR), )
66-
-rm -f $(KALDILIBDIR)/*{.so,.a,.o}
67+
-rm -f $(KALDILIBDIR)/*{.so,.a,.o,.dylib}
6768
-rmdir 2>/dev/null $(KALDILIBDIR); true
6869
else
6970
# KALDILIBDIR might have been unset because of reconfigure. Do a best guess.
7071
@echo "Something seems wrong. Please re-run configure."
7172
@echo "I will continue but the cleanup might not be complete."
7273
endif
74+
endif
7375

7476
kaldi.mk:
7577
@echo "ERROR: kaldi.mk does not exist; run ./configure first.";

0 commit comments

Comments
 (0)