File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -316,6 +316,8 @@ def python_build_info(
316
316
):
317
317
"""Obtain build metadata for the Python distribution."""
318
318
319
+ log ("resolving Python distribution build info" )
320
+
319
321
bi = {"core" : {"objs" : [], "links" : []}, "extensions" : {}}
320
322
321
323
# Object files for the core distribution are found by walking the
@@ -324,7 +326,7 @@ def python_build_info(
324
326
modules_objs = set ()
325
327
326
328
for f in build_env .find_output_files ("python/build" , "*.o" ):
327
- rel_path = pathlib .Path (f )
329
+ rel_path = pathlib .Path ("build" ) / f
328
330
329
331
if rel_path .parts [1 ] in ("Objects" , "Parser" , "Python" ):
330
332
core_objs .add (rel_path )
@@ -339,8 +341,6 @@ def python_build_info(
339
341
libraries = set ()
340
342
341
343
for f in build_env .find_output_files ("python/build/lib" , "*.a" ):
342
- f = f [len ("python/build/lib/" ) :]
343
-
344
344
# Strip "lib" prefix and ".a" suffix.
345
345
libname = f [3 :- 2 ]
346
346
You can’t perform that action at this time.
0 commit comments