summaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
Diffstat (limited to 'package')
-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) \
)