aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--tensorflow/contrib/android/BUILD2
-rw-r--r--tensorflow/examples/android/BUILD2
-rw-r--r--tensorflow/java/BUILD2
3 files changed, 3 insertions, 3 deletions
diff --git a/tensorflow/contrib/android/BUILD b/tensorflow/contrib/android/BUILD
index 60306ebdc6..c10179ba8b 100644
--- a/tensorflow/contrib/android/BUILD
+++ b/tensorflow/contrib/android/BUILD
@@ -72,7 +72,7 @@ cc_binary(
"-s",
"-Wl,--gc-sections",
"-Wl,--version-script", # This line must be directly followed by LINKER_SCRIPT.
- LINKER_SCRIPT,
+ "$(location {})".format(LINKER_SCRIPT),
]),
linkshared = 1,
linkstatic = 1,
diff --git a/tensorflow/examples/android/BUILD b/tensorflow/examples/android/BUILD
index aa594a63c6..07f096418f 100644
--- a/tensorflow/examples/android/BUILD
+++ b/tensorflow/examples/android/BUILD
@@ -36,7 +36,7 @@ cc_binary(
"-z defs",
"-s",
"-Wl,--version-script", # This line must be directly followed by LINKER_SCRIPT.
- LINKER_SCRIPT,
+ "$(location {})".format(LINKER_SCRIPT),
],
linkshared = 1,
linkstatic = 1,
diff --git a/tensorflow/java/BUILD b/tensorflow/java/BUILD
index 565c1cb8e0..f872da5360 100644
--- a/tensorflow/java/BUILD
+++ b/tensorflow/java/BUILD
@@ -355,7 +355,7 @@ tf_cc_binary(
"-z defs",
"-s",
"-Wl,--version-script", # This line must be directly followed by LINKER_VERSION_SCRIPT
- LINKER_VERSION_SCRIPT,
+ "$(location {})".format(LINKER_VERSION_SCRIPT),
],
}),
linkshared = 1,