diff options
author | Bob Ippolito <bob@redivi.com> | 2006-05-26 14:07:23 (GMT) |
---|---|---|
committer | Bob Ippolito <bob@redivi.com> | 2006-05-26 14:07:23 (GMT) |
commit | ad647859f4e45af749ca2f5a5bc45aaad3b1ca20 (patch) | |
tree | d72ed7bdec87a23ccabb9d3507244303a7f66e1f /Lib/distutils | |
parent | c6f5c871b98ad80df34e2ff99dbeb1fa9ac52350 (diff) | |
download | cpython-ad647859f4e45af749ca2f5a5bc45aaad3b1ca20.zip cpython-ad647859f4e45af749ca2f5a5bc45aaad3b1ca20.tar.gz cpython-ad647859f4e45af749ca2f5a5bc45aaad3b1ca20.tar.bz2 |
Fix distutils so that libffi will cross-compile between darwin/x86 and darwin/ppc
Diffstat (limited to 'Lib/distutils')
-rw-r--r-- | Lib/distutils/ccompiler.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/Lib/distutils/ccompiler.py b/Lib/distutils/ccompiler.py index 6dad757..1349abe 100644 --- a/Lib/distutils/ccompiler.py +++ b/Lib/distutils/ccompiler.py @@ -15,7 +15,6 @@ from distutils.spawn import spawn from distutils.file_util import move_file from distutils.dir_util import mkpath from distutils.dep_util import newer_pairwise, newer_group -from distutils.sysconfig import python_build from distutils.util import split_quoted, execute from distutils import log @@ -368,7 +367,7 @@ class CCompiler: # Get the list of expected output (object) files objects = self.object_filenames(sources, - strip_dir=python_build, + strip_dir=0, output_dir=outdir) assert len(objects) == len(sources) @@ -475,8 +474,7 @@ class CCompiler: which source files can be skipped. """ # Get the list of expected output (object) files - objects = self.object_filenames(sources, strip_dir=python_build, - output_dir=output_dir) + objects = self.object_filenames(sources, output_dir=output_dir) assert len(objects) == len(sources) if self.force: |