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
ae683657
Commit
ae683657
authored
Jun 05, 2016
by
doko@ubuntu.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- Issue #21277: Don't try to link _ctypes with a ffi_convenience library.
parent
5f2702b7
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
Misc/NEWS
Misc/NEWS
+2
-0
setup.py
setup.py
+1
-1
No files found.
Misc/NEWS
View file @
ae683657
...
@@ -1290,6 +1290,8 @@ Tests
...
@@ -1290,6 +1290,8 @@ Tests
Build
Build
-----
-----
-
Issue
#
21277
:
Don
't try to link _ctypes with a ffi_convenience library.
- Issue #26884: Fix linking extension modules for cross builds.
- Issue #26884: Fix linking extension modules for cross builds.
Patch by Xavier de Gaye.
Patch by Xavier de Gaye.
...
...
setup.py
View file @
ae683657
...
@@ -2007,7 +2007,7 @@ class PyBuildExt(build_ext):
...
@@ -2007,7 +2007,7 @@ class PyBuildExt(build_ext):
break
break
ffi_lib
=
None
ffi_lib
=
None
if
ffi_inc
is
not
None
:
if
ffi_inc
is
not
None
:
for
lib_name
in
(
'ffi
_convenience'
,
'ffi_pic'
,
'ffi
'
):
for
lib_name
in
(
'ffi
'
,
'ffi_pic
'
):
if
(
self
.
compiler
.
find_library_file
(
lib_dirs
,
lib_name
)):
if
(
self
.
compiler
.
find_library_file
(
lib_dirs
,
lib_name
)):
ffi_lib
=
lib_name
ffi_lib
=
lib_name
break
break
...
...
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