mirror of
https://github.com/google/sentencepiece.git
synced 2024-12-29 11:11:58 +03:00
update setup.py
This commit is contained in:
parent
7a5d14cfdf
commit
4b3d6bfa9d
@ -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 = [
|
||||
|
Loading…
Reference in New Issue
Block a user