Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
ad647859
Commit
ad647859
authored
May 26, 2006
by
Bob Ippolito
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix distutils so that libffi will cross-compile between darwin/x86 and darwin/ppc
parent
c6f5c871
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
5 deletions
+3
-5
Lib/distutils/ccompiler.py
Lib/distutils/ccompiler.py
+2
-4
Modules/_ctypes/libffi/fficonfig.py.in
Modules/_ctypes/libffi/fficonfig.py.in
+1
-1
No files found.
Lib/distutils/ccompiler.py
View file @
ad647859
...
...
@@ -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
:
...
...
Modules/_ctypes/libffi/fficonfig.py.in
View file @
ad647859
...
...
@@ -29,7 +29,7 @@ ffi_platforms = {
# Build all darwin related files on all supported darwin architectures, this
# makes it easier to build universal binaries.
if
0
:
if
1
:
all_darwin = ('X86_DARWIN', 'POWERPC_DARWIN')
all_darwin_files = []
for pn in all_darwin:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment