summaryrefslogtreecommitdiffstats
path: root/package/multimedia/alsa-lib/alsa-lib.mk
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2009-02-04 23:15:42 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2009-02-04 23:15:42 +0000
commit0d149d98d50be94af02dd38d883f6dd8a2db93f3 (patch)
treeddbe34fd2b44a50c6629c025eb3e29f24c2abfb7 /package/multimedia/alsa-lib/alsa-lib.mk
parent16a5a68947a7b7efd3bee6c7120afec166f2baeb (diff)
downloadbuildroot-novena-0d149d98d50be94af02dd38d883f6dd8a2db93f3.tar.gz
buildroot-novena-0d149d98d50be94af02dd38d883f6dd8a2db93f3.zip
alsa-lib: fix with with BR2_PACKAGE_ALSA_LIB_PYTHON
Tell it where to find the python headers.
Diffstat (limited to 'package/multimedia/alsa-lib/alsa-lib.mk')
-rw-r--r--package/multimedia/alsa-lib/alsa-lib.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/package/multimedia/alsa-lib/alsa-lib.mk b/package/multimedia/alsa-lib/alsa-lib.mk
index 9f550b476..08f106bbd 100644
--- a/package/multimedia/alsa-lib/alsa-lib.mk
+++ b/package/multimedia/alsa-lib/alsa-lib.mk
@@ -23,6 +23,7 @@ endif
ifeq ($(BR2_PACKAGE_ALSA_LIB_PYTHON),y)
ALSA_LIB_CONFIGURE_OPTS += --with-pythonlibs=-lpython$(PYTHON_VERSION_MAJOR)
+ALSA_LIB_CFLAGS+=-I$(STAGING_DIR)/usr/include/python$(PYTHON_VERSION_MAJOR)
ALSA_LIB_DEPS = libpython
else
ALSA_LIB_CONFIGURE_OPTS += --disable-python