summaryrefslogtreecommitdiffstats
path: root/setup.py
diff options
context:
space:
mode:
authorMatthias Klose <doko@ubuntu.com>2010-04-21 22:18:52 (GMT)
committerMatthias Klose <doko@ubuntu.com>2010-04-21 22:18:52 (GMT)
commit8a96d209f02e0e4cd3d515fa2722a72a89017b2f (patch)
treecb619f615b2ea016cce8bb7dac1c50acbf1e23f0 /setup.py
parentca6d9e9225ecc53fc62eff2c3058a2eb1dbfa4e8 (diff)
downloadcpython-8a96d209f02e0e4cd3d515fa2722a72a89017b2f.zip
cpython-8a96d209f02e0e4cd3d515fa2722a72a89017b2f.tar.gz
cpython-8a96d209f02e0e4cd3d515fa2722a72a89017b2f.tar.bz2
- Build the ossaudio extension on GNU/kFreeBSD.
Diffstat (limited to 'setup.py')
-rw-r--r--setup.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/setup.py b/setup.py
index 27e5f13..08e819e 100644
--- a/setup.py
+++ b/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')