summaryrefslogtreecommitdiffstats
path: root/Lib/distutils/ccompiler.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/distutils/ccompiler.py')
-rw-r--r--Lib/distutils/ccompiler.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/distutils/ccompiler.py b/Lib/distutils/ccompiler.py
index 8898f51..8aca058 100644
--- a/Lib/distutils/ccompiler.py
+++ b/Lib/distutils/ccompiler.py
@@ -366,7 +366,7 @@ class CCompiler:
extra = []
# Get the list of expected output (object) files
- objects = self.object_filenames(sources, 1, outdir)
+ objects = self.object_filenames(sources, 0, outdir)
assert len(objects) == len(sources)
# XXX should redo this code to eliminate skip_source entirely.
@@ -472,7 +472,7 @@ class CCompiler:
which source files can be skipped.
"""
# Get the list of expected output (object) files
- objects = self.object_filenames(sources, strip_dir=1,
+ objects = self.object_filenames(sources, strip_dir=0,
output_dir=output_dir)
assert len(objects) == len(sources)