python: disable building ossaudiodev module for host-python
authorZoltan Gyarmati <mr.zoltan.gyarmati@gmail.com>
Thu, 8 Jan 2015 10:49:28 +0000 (11:49 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 10 Jan 2015 14:59:45 +0000 (15:59 +0100)
This module is not needed to build the target Python, and can cause
some build issues on certain systems (when <linux/soundcard.h> does
not contain the OSS related definitions).

Signed-off-by: Zoltan Gyarmati <mr.zoltan.gyarmati@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/python/python.mk

index 45b1f7f477689808a6b294ef441cb8cd4e98e6ee..bf063e9506c2b73d6f88bcc9285e01c35607675d 100644 (file)
@@ -33,6 +33,7 @@ HOST_PYTHON_CONF_OPTS +=      \
        --disable-test-modules  \
        --disable-bz2           \
        --disable-ssl           \
+       --disable-ossaudiodev   \
        --disable-pyo-build
 
 # Make sure that LD_LIBRARY_PATH overrides -rpath.