From be6798ace7594eeef8a45d9a2c9e64cf6e3cb5b2 Mon Sep 17 00:00:00 2001 From: Thomas Petazzoni Date: Sat, 10 Jan 2015 16:32:48 +0100 Subject: python3: make the ossaudiodev module optional Like was done for the 'python' package, also make the ossaudiodev module optional for 'python3'. ossaudiodev is always disabled for host-python3, and a new option is added to enable it for the target python3. Signed-off-by: Thomas Petazzoni --- package/python3/python3.mk | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'package/python3/python3.mk') diff --git a/package/python3/python3.mk b/package/python3/python3.mk index f6663dc9b8..b12c46093e 100644 --- a/package/python3/python3.mk +++ b/package/python3/python3.mk @@ -36,6 +36,7 @@ HOST_PYTHON3_CONF_OPTS += \ --enable-unicodedata \ --disable-test-modules \ --disable-idle3 \ + --disable-ossaudiodev \ --disable-pyo-build # Make sure that LD_LIBRARY_PATH overrides -rpath. @@ -108,6 +109,12 @@ ifeq ($(BR2_PACKAGE_PYTHON3_ZLIB),y) PYTHON3_DEPENDENCIES += zlib endif +ifeq ($(BR2_PACKAGE_PYTHON3_OSSAUDIODEV),y) +PYTHON3_CONF_OPTS += --enable-ossaudiodev +else +PYTHON3_CONF_OPTS += --disable-ossaudiodev +endif + PYTHON3_CONF_ENV += \ ac_cv_have_long_long_format=yes \ ac_cv_file__dev_ptmx=yes \ -- cgit v1.2.3