update setup.py

This commit is contained in:
Taku Kudo 2022-06-03 01:02:18 +09:00
parent 7a5d14cfdf
commit 4b3d6bfa9d

View File

@ -58,7 +58,7 @@ def is_sentencepiece_installed():
def get_cflags_and_libs(root):
cflags = cflags + ['-std=c++11', '-I' + os.path.join(root, 'include')]
cflags = ['-std=c++11', '-I' + os.path.join(root, 'include')]
libs = []
if os.path.exists(os.path.join(root, 'lib/pkgconfig/sentencepiece.pc')):
libs = [