mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
Add strip_dir argument to the single call to .object_filenames(), to
prevent creating files such as build/lib.whatever/Modules/foo.o when given a source filename such as Modules/foo.c.
This commit is contained in:
parent
b8c941771a
commit
bd2983caf3
1 changed files with 1 additions and 0 deletions
|
@ -366,6 +366,7 @@ class CCompiler:
|
|||
"""
|
||||
# Get the list of expected output (object) files
|
||||
objects = self.object_filenames (sources,
|
||||
strip_dir=1,
|
||||
output_dir=output_dir)
|
||||
|
||||
if self.force:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue