internal change
authorA. Unique TensorFlower <gardener@tensorflow.org>
Tue, 22 May 2018 09:27:45 +0000 (02:27 -0700)
committerTensorFlower Gardener <gardener@tensorflow.org>
Tue, 22 May 2018 09:30:28 +0000 (02:30 -0700)
PiperOrigin-RevId: 197533162

tensorflow/java/BUILD

index f872da5..78596d1 100644 (file)
@@ -347,7 +347,7 @@ tf_cc_binary(
         "//tensorflow:debug": [],  # Disable all custom linker options in debug mode
         "//tensorflow:darwin": [
             "-Wl,-exported_symbols_list",  # This line must be directly followed by LINKER_EXPORTED_SYMBOLS
-            LINKER_EXPORTED_SYMBOLS,
+            "$(location {})".format(LINKER_EXPORTED_SYMBOLS),
         ],
         "//tensorflow:windows": [],
         "//tensorflow:windows_msvc": [],