mirror of
https://github.com/python/cpython.git
synced 2025-08-30 05:35:08 +00:00
For for issue #7154: Port the code that uses
the SystemConfiguration framework to detect the proxy settings on OSX from the trunk to python 3.2
This commit is contained in:
parent
f88db8de76
commit
8415120af3
4 changed files with 335 additions and 27 deletions
6
setup.py
6
setup.py
|
@ -1238,6 +1238,12 @@ class PyBuildExt(build_ext):
|
|||
Extension('_gestalt', ['_gestalt.c'],
|
||||
extra_link_args=['-framework', 'Carbon'])
|
||||
)
|
||||
exts.append(
|
||||
Extension('_scproxy', ['_scproxy.c'],
|
||||
extra_link_args=[
|
||||
'-framework', 'SystemConfiguration',
|
||||
'-framework', 'CoreFoundation',
|
||||
]))
|
||||
|
||||
self.extensions.extend(exts)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue