diff options
author | Suharsh Sivakumar <suharshs@google.com> | 2017-01-24 15:58:55 -0800 |
---|---|---|
committer | TensorFlower Gardener <gardener@tensorflow.org> | 2017-01-24 16:09:44 -0800 |
commit | d9ae30a17a0fea8666db00e13bcfb760be998988 (patch) | |
tree | d4f9830288a45b611bd06394f89bdd353ff8f8ca /tensorflow/c/BUILD | |
parent | 5507516cc1aafff5a51472eb9e4571236a3a94fe (diff) |
Remove explicit static linking from tests that load a shared library.
This was causing the .so files to have undefined symbols from core/framework.
Change: 145479847
Diffstat (limited to 'tensorflow/c/BUILD')
-rw-r--r-- | tensorflow/c/BUILD | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tensorflow/c/BUILD b/tensorflow/c/BUILD index 9e8ea84baf..e0a4272ee2 100644 --- a/tensorflow/c/BUILD +++ b/tensorflow/c/BUILD @@ -84,7 +84,9 @@ tf_cc_test( "//tensorflow:darwin": ["-headerpad_max_install_names"], "//conditions:default": [], }), - linkstatic = tf_kernel_tests_linkstatic(), + # We must ensure that the dependencies can be dynamically linked since + # the shared library must be able to use core:framework. + # linkstatic = tf_kernel_tests_linkstatic(), deps = [ ":c_api", "//tensorflow/cc/saved_model:signature_constants", |