Skip to content

Commit ed67083

Browse files
committed
try copying includes attr to see windows effect
1 parent 4abb41d commit ed67083

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

python/private/hermetic_runtime_repo_setup.bzl

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,17 @@ def define_hermetic_runtime_toolchain_impl(
131131
"@bazel_tools//src/conditions:windows": [":interface"],
132132
"//conditions:default": [],
133133
}),
134+
includes = [
135+
"include",
136+
] + select({
137+
_IS_FREETHREADED_YES: [
138+
"include/python{major}.{minor}t".format(**version_dict),
139+
],
140+
_IS_FREETHREADED_NO: [
141+
"include/python{major}.{minor}".format(**version_dict),
142+
"include/python{major}.{minor}m".format(**version_dict),
143+
],
144+
}),
134145
)
135146
native.config_setting(
136147
name = "is_freethreaded_linux",

0 commit comments

Comments
 (0)