Thanks to visit codestin.com Credit goes to github.com
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 e28ee75 commit 005dbb2Copy full SHA for 005dbb2
1 file changed
Lib/distutils/unixccompiler.py
@@ -17,7 +17,7 @@
17
18
__revision__ = "$Id$"
19
20
-import string, re, os
+import string, re, os, sys
21
from types import *
22
from copy import copy
23
from distutils import sysconfig
@@ -62,6 +62,9 @@ class UnixCCompiler (CCompiler):
62
'ranlib' : None,
63
}
64
65
+ if sys.platform[:6] == "darwin":
66
+ executables['ranlib'] = ["ranlib"]
67
+
68
# Needed for the filename generation methods provided by the base
69
# class, CCompiler. NB. whoever instantiates/uses a particular
70
# UnixCCompiler instance should set 'shared_lib_ext' -- we set a
0 commit comments