Browse Source

alsa-lib: fix with with BR2_PACKAGE_ALSA_LIB_PYTHON

Tell it where to find the python headers.
Peter Korsgaard 16 years ago
parent
commit
0d149d98d5
1 changed files with 1 additions and 0 deletions
  1. 1 0
      package/multimedia/alsa-lib/alsa-lib.mk

+ 1 - 0
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