File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -98,14 +98,14 @@ def define_local_runtime_toolchain_impl(
9898 )
9999 abi3_deps .append (":abi3_interface" )
100100
101+ extra_deps = []
101102 for dll in additional_dlls :
102103 name = paths .basename (dll ).replace ("." , "_" )
103104 cc_import (
104105 name = name ,
105106 shared_library = dll ,
106107 )
107- libraries .append (":" + name )
108- abi3_libraries .append (":" + name )
108+ extra_deps .append (":" + name )
109109
110110 native .filegroup (
111111 name = "includes" ,
@@ -128,6 +128,7 @@ def define_local_runtime_toolchain_impl(
128128 name = "libpython{}" .format (major ),
129129 hdrs = [":includes" ],
130130 srcs = abi3_libraries ,
131+ deps = extra_deps ,
131132 )
132133
133134 # full abi libraries.
@@ -140,6 +141,7 @@ def define_local_runtime_toolchain_impl(
140141 name = "libpython{}{}" .format (major , minor ),
141142 hdrs = [":includes" ],
142143 srcs = libraries ,
144+ deps = extra_deps ,
143145 )
144146
145147 py_runtime (
You can’t perform that action at this time.
0 commit comments