fix Windows distribution stripping to remove CGC ".def" files

This commit is contained in:
Matthew Flatt 2015-10-20 19:20:43 -06:00
parent a38ba440fa
commit 5a768de132

View File

@ -38,7 +38,7 @@
name))])
(or (regexp-match? #rx#"[.](?i:pdb|ilk|manifest)$" b)
(regexp-match? #rx#"(?i:CGC[.](?:dll|exe))$" b)
(and (regexp-match? #rx#"(?i:[.](?:dll|exp|obj|lib))$" b)
(and (regexp-match? #rx#"(?i:[.](?:dll|exp|obj|lib|def))$" b)
(not (regexp-match? #rx#"3m" b))))))
(delete-file* f)))