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:
126126 stats ["so_out" ] += 1
127127 # Get the dynamic library path while preserving order
128128 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
133129 self .dynamic_libs .append (dll )
134130
135131 elif out_file_name := match_suffix (db ["opened_file_names" ], in_file_name ):
136132 match extension :
137133 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
144135 case ".py" :
145136 stats ["py_out" ] += 1
146137 case _:
@@ -159,7 +150,7 @@ def process_path(self, in_file_name: str) -> str | None:
159150 stats ["so_out" ] += 1
160151 # Manually included dynamic libraries are going to be loaded first
161152 # 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 )
163154 self .dynamic_libs .append (dll )
164155 return out_file_name
165156
You can’t perform that action at this time.
0 commit comments