File tree Expand file tree Collapse file tree 1 file changed +2
-11
lines changed Expand file tree Collapse file tree 1 file changed +2
-11
lines changed Original file line number Diff line number Diff line change @@ -126,21 +126,12 @@ def process_path(self, in_file_name: str) -> str | None:
126
126
stats ["so_out" ] += 1
127
127
# Get the dynamic library path while preserving order
128
128
dll = db ["dynamic_libs_map" ][out_file_name ]
129
- # Always mark shared libraries as shared=True to ensure they're loaded
130
- # globally, for libraries that need these global symbols
131
- if extension == ".so" :
132
- dll .shared = True
133
129
self .dynamic_libs .append (dll )
134
130
135
131
elif out_file_name := match_suffix (db ["opened_file_names" ], in_file_name ):
136
132
match extension :
137
133
case ".so" :
138
- # Always include shared libraries that were opened
139
- # and add dynamic library with medium priority to
140
- # ensure it's loaded globally
141
- stats ["so_out" ] += 1
142
- dll = DynamicLib (out_file_name , load_order = 500 , shared = True )
143
- self .dynamic_libs .append (dll )
134
+ out_file_name = None
144
135
case ".py" :
145
136
stats ["py_out" ] += 1
146
137
case _:
@@ -159,7 +150,7 @@ def process_path(self, in_file_name: str) -> str | None:
159
150
stats ["so_out" ] += 1
160
151
# Manually included dynamic libraries are going to be loaded first
161
152
# and should also be loaded globally
162
- dll = DynamicLib (out_file_name , load_order = - 1000 , shared = True )
153
+ dll = DynamicLib (out_file_name , load_order = - 1000 )
163
154
self .dynamic_libs .append (dll )
164
155
return out_file_name
165
156
You can’t perform that action at this time.
0 commit comments