diff options
Diffstat (limited to 'package/multimedia/alsa-lib/alsa-lib.mk')
-rw-r--r-- | package/multimedia/alsa-lib/alsa-lib.mk | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/package/multimedia/alsa-lib/alsa-lib.mk b/package/multimedia/alsa-lib/alsa-lib.mk index b87062646..5105b2bb7 100644 --- a/package/multimedia/alsa-lib/alsa-lib.mk +++ b/package/multimedia/alsa-lib/alsa-lib.mk @@ -17,8 +17,9 @@ else ALSA_LIB_ABI:= endif -ifeq ($(BR2_PACKAGE_PYTHON),y) +ifeq ($(BR2_PACKAGE_ALSA_LIB_PYTHON),y) ALSA_LIB_CONFIGURE_OPTS += --with-pythonlibs=-lpython$(PYTHON_VERSION_MAJOR) +ALSA_LIB_DEPS = libpython else ALSA_LIB_CONFIGURE_OPTS += --disable-python endif @@ -74,7 +75,7 @@ $(TARGET_DIR)/$(ALSA_LIB_TARGET_BINARY): $(STAGING_DIR)/$(ALSA_LIB_TARGET_BINARY -$(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $(TARGET_DIR)/usr/lib/alsa-lib/smixer/*.so touch -c $@ -alsa-lib: uclibc $(TARGET_DIR)/$(ALSA_LIB_TARGET_BINARY) +alsa-lib: uclibc $(ALSA_LIB_DEPS) $(TARGET_DIR)/$(ALSA_LIB_TARGET_BINARY) alsa-lib-source: $(DL_DIR)/$(ALSA-LIB_SOURCE) |