Skip to content

Commit

Permalink
Merge remote-tracking branch 'mozilla-tensorflow/ios-build' into fix-…
Browse files Browse the repository at this point in the history
…linker2
  • Loading branch information
Alexandre Lissy committed Aug 1, 2020
2 parents 39ed4fa + 0854bb5 commit d124566
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions tensorflow/lite/c/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ tflite_cc_shared_object(
"-Wl,-exported_symbols_list,$(location //tensorflow/lite/c:exported_symbols.lds)",
],
"//tensorflow:windows": [],
"//tensorflow:ios": [],
"//conditions:default": [
"-z defs",
"-Wl,--version-script,$(location //tensorflow/lite/c:version_script.lds)",
Expand Down
3 changes: 3 additions & 0 deletions tensorflow/tensorflow.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -613,6 +613,9 @@ def tf_cc_shared_object(
"-Wl,-install_name,@rpath/" + soname,
],
clean_dep("//tensorflow:windows"): [],
clean_dep("//tensorflow:ios"): [
"-Wl,-install_name,@rpath/" + soname
],
"//conditions:default": [
"-Wl,-soname," + soname,
],
Expand Down

0 comments on commit d124566

Please sign in to comment.