summaryrefslogtreecommitdiffstats
path: root/setup.py
diff options
context:
space:
mode:
authorRonald Oussoren <ronaldoussoren@mac.com>2009-09-20 10:31:22 (GMT)
committerRonald Oussoren <ronaldoussoren@mac.com>2009-09-20 10:31:22 (GMT)
commit51f0633efdc31ae29d5813881a96b0c737fca075 (patch)
tree3c340af902f24aabda493e62ff33a67ce7261db5 /setup.py
parent4b017bbac0dd4e0a7e3c4424157c278dc4f8fa72 (diff)
downloadcpython-51f0633efdc31ae29d5813881a96b0c737fca075.zip
cpython-51f0633efdc31ae29d5813881a96b0c737fca075.tar.gz
cpython-51f0633efdc31ae29d5813881a96b0c737fca075.tar.bz2
Fix for issue 6851: urllib.urlopen crashes in a thread on OSX 10.6
Diffstat (limited to 'setup.py')
-rw-r--r--setup.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/setup.py b/setup.py
index e128697..adc72c8 100644
--- a/setup.py
+++ b/setup.py
@@ -1400,6 +1400,17 @@ class PyBuildExt(build_ext):
addMacExtension('_CF', core_kwds, ['cf/pycfbridge.c'])
addMacExtension('autoGIL', core_kwds)
+ # _scproxy
+ sc_kwds = {
+ 'extra_compile_args': carbon_extra_compile_args,
+ 'extra_link_args': [
+ '-framework', 'SystemConfiguration',
+ '-framework', 'CoreFoundation'
+ ],
+ }
+ addMacExtension("_scproxy", sc_kwds)
+
+
# Carbon
carbon_kwds = {'extra_compile_args': carbon_extra_compile_args,
'extra_link_args': ['-framework', 'Carbon'],