summaryrefslogtreecommitdiffstats
path: root/package/multimedia/alsa-lib
diff options
context:
space:
mode:
authorUlf Samuelsson <ulf.samuelsson@atmel.com>2009-01-11 20:10:57 +0000
committerUlf Samuelsson <ulf.samuelsson@atmel.com>2009-01-11 20:10:57 +0000
commitdecf86e4a39a6797858076ff3c97446acf477efc (patch)
treea8859c6f957ed6eafaf6b6c1acf8c55147e1bc14 /package/multimedia/alsa-lib
parent675d4161441497cc3b04d725f9083bb444839c03 (diff)
downloadbuildroot-novena-decf86e4a39a6797858076ff3c97446acf477efc.tar.gz
buildroot-novena-decf86e4a39a6797858076ff3c97446acf477efc.zip
Make sure alsa-lib build with correct python version
Diffstat (limited to 'package/multimedia/alsa-lib')
-rw-r--r--package/multimedia/alsa-lib/alsa-lib.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/package/multimedia/alsa-lib/alsa-lib.mk b/package/multimedia/alsa-lib/alsa-lib.mk
index 6e97c8a60..019879b5a 100644
--- a/package/multimedia/alsa-lib/alsa-lib.mk
+++ b/package/multimedia/alsa-lib/alsa-lib.mk
@@ -17,6 +17,10 @@ else
ALSA_LIB_ABI:=
endif
+ifeq ($(BR2_PACKAGE_PYTHON),y)
+ALSA_LIB_CONFIGURE_OPTS += --with-pythonlibs=-lpython$(PYTHON_VERSION_MAJOR)
+endif
+
ifeq ($(BR2_SOFT_FLOAT),y)
SOFT_FLOAT=--with-softfloat
endif
@@ -45,6 +49,7 @@ $(ALSA_LIB_DIR)/.configured: $(ALSA_LIB_DIR)/.unpacked
--enable-shared \
--enable-static \
--disable-docs \
+ $(ALSA_LIB_CONFIGURE_OPTS) \
$(SOFT_FLOAT) \
$(DISABLE_NLS) \
)