mirror of
https://github.com/python/cpython.git
synced 2025-09-26 10:19:53 +00:00
- Build the ossaudio extension on GNU/kFreeBSD.
This commit is contained in:
parent
ca6d9e9225
commit
8a96d209f0
2 changed files with 8 additions and 2 deletions
5
setup.py
5
setup.py
|
@ -1361,8 +1361,9 @@ class PyBuildExt(build_ext):
|
|||
else:
|
||||
missing.append('linuxaudiodev')
|
||||
|
||||
if platform in ('linux2', 'freebsd4', 'freebsd5', 'freebsd6',
|
||||
'freebsd7', 'freebsd8'):
|
||||
if (platform in ('linux2', 'freebsd4', 'freebsd5', 'freebsd6',
|
||||
'freebsd7', 'freebsd8')
|
||||
or platform.startswith("gnukfreebsd")):
|
||||
exts.append( Extension('ossaudiodev', ['ossaudiodev.c']) )
|
||||
else:
|
||||
missing.append('ossaudiodev')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue