ports/science/py-tensorflow/files/patch-third__party_absl_system.absl.strings.BUILD
Anthony Donnelly 56dc0e449f science/py-tensorflow: Update 1.15.5 -> 2.9.1
Big thank you to Anthony Donnelly for updating this difficult port.

PR:		266303
2022-09-13 13:32:36 -07:00

26 lines
781 B
Text

--- third_party/absl/system.absl.strings.BUILD.orig 2022-05-22 22:28:22 UTC
+++ third_party/absl/system.absl.strings.BUILD
@@ -4,7 +4,7 @@ package(default_visibility = ["//visibility:public"])
cc_library(
name = "strings",
- linkopts = ["-labsl_strings"],
+ linkopts = ["-L%%LOCALBASE%%/lib", "-labsl_strings"],
deps = [
":internal",
"//absl/base",
@@ -26,7 +26,13 @@ cc_library(
cc_library(
name = "cord",
- linkopts = ["-labsl_cord"],
+ linkopts = [
+ "-labsl_cord",
+ "-labsl_cord_internal",
+ "-labsl_cordz_functions",
+ "-labsl_cordz_handle",
+ "-labsl_cordz_info",
+ "-labsl_cordz_sample_token",],
deps = [
":str_format",
"//absl/container:compressed_tuple",