- Build the ossaudio extension on GNU/kFreeBSD.

This commit is contained in:
Matthias Klose 2010-04-21 22:18:52 +00:00
parent ca6d9e9225
commit 8a96d209f0
2 changed files with 8 additions and 2 deletions

View file

@ -58,6 +58,11 @@ Library
- Issue #8374: Update the internal alias table in the :mod:`locale` module
to cover recent locale changes and additions.
Extension Modules
-----------------
- Build the ossaudio extension on GNU/kFreeBSD.
What's New in Python 2.7 beta 1?
================================

View file

@ -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')