mirror of
https://github.com/python/cpython.git
synced 2025-07-23 11:15:24 +00:00
bpo-45573: check for ossaudiodev in configure (GH-29614)
This commit is contained in:
parent
345ba3f080
commit
5275e59c0c
4 changed files with 75 additions and 7 deletions
7
setup.py
7
setup.py
|
@ -1485,11 +1485,8 @@ class PyBuildExt(build_ext):
|
|||
else:
|
||||
self.missing.extend(['resource', 'termios'])
|
||||
|
||||
# Platform-specific libraries
|
||||
if HOST_PLATFORM.startswith(('linux', 'freebsd', 'gnukfreebsd')):
|
||||
self.add(Extension('ossaudiodev', ['ossaudiodev.c']))
|
||||
elif not AIX:
|
||||
self.missing.append('ossaudiodev')
|
||||
# linux/soundcard.h or sys/soundcard.h
|
||||
self.addext(Extension('ossaudiodev', ['ossaudiodev.c']))
|
||||
|
||||
if MACOS:
|
||||
self.add(Extension('_scproxy', ['_scproxy.c'],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue