Kaydet (Commit) 84b74477 authored tarafından Jack Jansen's avatar Jack Jansen

_localemodule now needs to be linked with CoreFoundation on darwin.

üst 5336f8ca
......@@ -341,8 +341,15 @@ class PyBuildExt(build_ext):
locale_libs = ['intl']
else:
locale_libs = []
if platform == 'darwin':
locale_extra_link_args = ['-framework', 'CoreFoundation']
else:
locale_extra_link_args = []
exts.append( Extension('_locale', ['_localemodule.c'],
libraries=locale_libs ) )
libraries=locale_libs,
extra_link_args=locale_extra_link_args) )
# Modules with some UNIX dependencies -- on by default:
# (If you have a really backward UNIX, select and socket may not be
......
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