From: Ulf Samuelsson Date: Sun, 11 Jan 2009 20:10:57 +0000 (-0000) Subject: Make sure alsa-lib build with correct python version X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=decf86e4a39a6797858076ff3c97446acf477efc;p=buildroot.git Make sure alsa-lib build with correct python version --- 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) \ )