Commit ab694beb authored by Just van Rossum's avatar Just van Rossum

on MacOSX/Darwin, use ranlib when building static libs.

parent e4a3cf2f
......@@ -17,7 +17,7 @@ the "typical" Unix-style command-line C compiler:
__revision__ = "$Id$"
import string, re, os
import string, re, os, sys
from types import *
from copy import copy
from distutils import sysconfig
......@@ -62,6 +62,9 @@ class UnixCCompiler (CCompiler):
'ranlib' : None,
}
if sys.platform[:6] == "darwin":
executables['ranlib'] = ["ranlib"]
# Needed for the filename generation methods provided by the base
# class, CCompiler. NB. whoever instantiates/uses a particular
# UnixCCompiler instance should set 'shared_lib_ext' -- we set a
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment