aboutsummaryrefslogtreecommitdiff
path: root/third_party/py/python_configure.bzl
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/py/python_configure.bzl')
-rw-r--r--third_party/py/python_configure.bzl2
1 files changed, 1 insertions, 1 deletions
diff --git a/third_party/py/python_configure.bzl b/third_party/py/python_configure.bzl
index fa47d89ebc..d06fa2b558 100644
--- a/third_party/py/python_configure.bzl
+++ b/third_party/py/python_configure.bzl
@@ -256,7 +256,7 @@ def _get_python_include(repository_ctx, python_bin):
python_bin,
"-c",
"import os;" +
- "main_header = os.path.join('{}', 'Python.h');".format(include_path) +
+ "main_header = os.path.join(r'{}', 'Python.h');".format(include_path) +
"assert os.path.exists(main_header), main_header + ' does not exist.'",
],
error_msg = "Unable to find Python headers for {}".format(python_bin),