mirror of
https://github.com/google/sentencepiece.git
synced 2025-01-01 05:04:14 +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):
|
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 = []
|
libs = []
|
||||||
if os.path.exists(os.path.join(root, 'lib/pkgconfig/sentencepiece.pc')):
|
if os.path.exists(os.path.join(root, 'lib/pkgconfig/sentencepiece.pc')):
|
||||||
libs = [
|
libs = [
|
||||||
|
Loading…
Reference in New Issue
Block a user