From decf86e4a39a6797858076ff3c97446acf477efc Mon Sep 17 00:00:00 2001 From: Ulf Samuelsson Date: Sun, 11 Jan 2009 20:10:57 +0000 Subject: [PATCH] Make sure alsa-lib build with correct python version --- package/multimedia/alsa-lib/alsa-lib.mk | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/package/multimedia/alsa-lib/alsa-lib.mk b/package/multimedia/alsa-lib/alsa-lib.mk index 6e97c8a609..019879b5ab 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) \ ) -- 2.30.2