Workaround to solve "-lphtread" linker error on Android.

PiperOrigin-RevId: 484285361
This commit is contained in:
Jiuqiang Tang
2022-10-27 10:14:34 -07:00
committed by Copybara-Service
parent a941c5cdd1
commit f315e6dc58
2 changed files with 38 additions and 0 deletions
+4
View File
@@ -172,6 +172,10 @@ http_archive(
urls = [
"https://github.com/google/sentencepiece/archive/1.0.0.zip",
],
patches = [
"//third_party:com_google_sentencepiece_no_gflag_no_gtest.diff",
],
patch_args = ["-p1"],
repo_mapping = {"@com_google_glog" : "@com_github_glog_glog"},
)