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
d06d345f
Commit
d06d345f
authored
May 02, 2018
by
Ray Donnelly
Committed by
Ned Deily
May 01, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bpo-33281: Fix ctypes.util.find_library regression on macOS (GH-6625)
parent
ef347535
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
Lib/ctypes/util.py
Lib/ctypes/util.py
+2
-2
No files found.
Lib/ctypes/util.py
View file @
d06d345f
...
...
@@ -67,7 +67,7 @@ if os.name == "nt":
return
fname
return
None
if
os
.
name
==
"posix"
and
sys
.
platform
==
"darwin"
:
el
if
os
.
name
==
"posix"
and
sys
.
platform
==
"darwin"
:
from
ctypes.macholib.dyld
import
dyld_find
as
_dyld_find
def
find_library
(
name
):
possible
=
[
'lib%s.dylib'
%
name
,
...
...
@@ -80,7 +80,7 @@ if os.name == "posix" and sys.platform == "darwin":
continue
return
None
if
sys
.
platform
.
startswith
(
"aix"
):
el
if
sys
.
platform
.
startswith
(
"aix"
):
# AIX has two styles of storing shared libraries
# GNU auto_tools refer to these as svr4 and aix
# svr4 (System V Release 4) is a regular file, often with .so as suffix
...
...
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