Disable use of python in alsa-lib, if not configured
authorUlf Samuelsson <ulf.samuelsson@atmel.com>
Mon, 12 Jan 2009 07:40:08 +0000 (07:40 -0000)
committerUlf Samuelsson <ulf.samuelsson@atmel.com>
Mon, 12 Jan 2009 07:40:08 +0000 (07:40 -0000)
package/multimedia/alsa-lib/alsa-lib.mk

index 019879b5ab7292f714caaddc389e10ac8d9ed8bf..a929950435aa007f8a1cb811d364a3e8071c8074 100644 (file)
@@ -19,6 +19,8 @@ endif
 
 ifeq ($(BR2_PACKAGE_PYTHON),y)
 ALSA_LIB_CONFIGURE_OPTS += --with-pythonlibs=-lpython$(PYTHON_VERSION_MAJOR)
+else
+ALSA_LIB_CONFIGURE_OPTS += --disable-python
 endif
 
 ifeq ($(BR2_SOFT_FLOAT),y)