mirror of
https://github.com/python/cpython.git
synced 2025-07-24 19:54:21 +00:00
bpo-45847: Port _scproxy to PY_STDLIB_MOD (GH-29644)
This commit is contained in:
parent
be36e06340
commit
5596909eac
5 changed files with 74 additions and 7 deletions
7
setup.py
7
setup.py
|
@ -1389,11 +1389,8 @@ class PyBuildExt(build_ext):
|
|||
# linux/soundcard.h or sys/soundcard.h
|
||||
self.addext(Extension('ossaudiodev', ['ossaudiodev.c']))
|
||||
|
||||
if MACOS:
|
||||
self.add(Extension('_scproxy', ['_scproxy.c'],
|
||||
extra_link_args=[
|
||||
'-framework', 'SystemConfiguration',
|
||||
'-framework', 'CoreFoundation']))
|
||||
# macOS-only, needs SystemConfiguration and CoreFoundation framework
|
||||
self.addext(Extension('_scproxy', ['_scproxy.c']))
|
||||
|
||||
def detect_compress_exts(self):
|
||||
# Andrew Kuchling's zlib module.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue