From c7294fae362bbcf3305e76411e261c60d9942bd4 Mon Sep 17 00:00:00 2001 From: lidongdong Date: Mon, 18 Jul 2022 20:10:22 +0800 Subject: [PATCH] fix:change setup --- third_party/ctc_decoders/setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/third_party/ctc_decoders/setup.py b/third_party/ctc_decoders/setup.py index f1eb4246..9a8b292a 100644 --- a/third_party/ctc_decoders/setup.py +++ b/third_party/ctc_decoders/setup.py @@ -92,7 +92,7 @@ FILES = [ LIBS = ['stdc++'] if platform.system() != 'Darwin': LIBS.append('rt') -if platform.system() != 'Windows': +if platform.system() == 'Windows': LIBS = ['-static-libstdc++'] ARGS = ['-O3', '-DNDEBUG', '-DKENLM_MAX_ORDER=6', '-std=c++11'] -- GitLab