File tree Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -91,7 +91,10 @@ def define_hermetic_runtime_toolchain_impl(
9191 )
9292 cc_import (
9393 name = "abi3_interface" ,
94- interface_library = "libs/python3.lib" ,
94+ interface_library = select ({
95+ _IS_FREETHREADED : "libs/python3t.lib" ,
96+ "//conditions:default" : "libs/python3.lib" ,
97+ }),
9598 system_provided = True ,
9699 )
97100
@@ -161,8 +164,10 @@ def define_hermetic_runtime_toolchain_impl(
161164 "lib/libpython{major}.{minor}t.dylib" .format (** version_dict ),
162165 ],
163166 ":is_freethreaded_windows" : [
164- "python3.dll" ,
167+ "python3t.dll" ,
168+ "python{python_version_nodot}t.dll" ,
165169 "libs/python{major}{minor}t.lib" .format (** version_dict ),
170+ "libs/python3t.lib" ,
166171 ],
167172 "@platforms//os:linux" : [
168173 "lib/libpython{major}.{minor}.so" .format (** version_dict ),
@@ -174,7 +179,7 @@ def define_hermetic_runtime_toolchain_impl(
174179 "python{python_version_nodot}.dll" ,
175180 "libs/python{major}{minor}.lib" .format (** version_dict ),
176181 "libs/python3.lib" ,
177- ],
182+ ],
178183 }),
179184 )
180185
You can’t perform that action at this time.
0 commit comments