We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ef34753 commit d06d345Copy full SHA for d06d345
Lib/ctypes/util.py
@@ -67,7 +67,7 @@ def find_library(name):
67
return fname
68
return None
69
70
-if os.name == "posix" and sys.platform == "darwin":
+elif os.name == "posix" and sys.platform == "darwin":
71
from ctypes.macholib.dyld import dyld_find as _dyld_find
72
def find_library(name):
73
possible = ['lib%s.dylib' % name,
@@ -80,7 +80,7 @@ def find_library(name):
80
continue
81
82
83
-if sys.platform.startswith("aix"):
+elif sys.platform.startswith("aix"):
84
# AIX has two styles of storing shared libraries
85
# GNU auto_tools refer to these as svr4 and aix
86
# svr4 (System V Release 4) is a regular file, often with .so as suffix
0 commit comments