diff options
Diffstat (limited to 'science/py-tensorflow/files/patch-third__party_flatbuffers_BUILD.system')
-rw-r--r-- | science/py-tensorflow/files/patch-third__party_flatbuffers_BUILD.system | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/science/py-tensorflow/files/patch-third__party_flatbuffers_BUILD.system b/science/py-tensorflow/files/patch-third__party_flatbuffers_BUILD.system new file mode 100644 index 000000000000..65f87cc52cb5 --- /dev/null +++ b/science/py-tensorflow/files/patch-third__party_flatbuffers_BUILD.system @@ -0,0 +1,18 @@ +--- third_party/flatbuffers/BUILD.system.orig 2021-01-04 20:18:42 UTC ++++ third_party/flatbuffers/BUILD.system +@@ -9,6 +9,7 @@ filegroup( + cc_library( + name = "flatbuffers", + linkopts = ["-lflatbuffers"], ++ copts = ["-I%%LOCALBASE%%/include"], + visibility = ["//visibility:public"], + ) + +@@ -16,6 +17,7 @@ cc_library( + cc_library( + name = "flatc_library", + linkopts = ["-lflatbuffers"], ++ copts = ["-I%%LOCALBASE%%/include"], + visibility = ["//visibility:public"], + ) + |