diff options
author | Matthias Klose <doko@ubuntu.com> | 2010-04-21 22:18:52 (GMT) |
---|---|---|
committer | Matthias Klose <doko@ubuntu.com> | 2010-04-21 22:18:52 (GMT) |
commit | 8a96d209f02e0e4cd3d515fa2722a72a89017b2f (patch) | |
tree | cb619f615b2ea016cce8bb7dac1c50acbf1e23f0 /setup.py | |
parent | ca6d9e9225ecc53fc62eff2c3058a2eb1dbfa4e8 (diff) | |
download | cpython-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.py | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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') |