summaryrefslogtreecommitdiffstats
path: root/package/alsa-utils
diff options
context:
space:
mode:
authorBaruch Siach <baruch@tkos.co.il>2015-01-27 19:51:39 +0200
committerPeter Korsgaard <peter@korsgaard.com>2015-01-27 23:09:25 +0100
commite10cf295c900790d96d777cc7ff0aea287afd056 (patch)
tree961f7585077d8a0fa67497fc4437bea40292d679 /package/alsa-utils
parent45a929190524f922f4a0d868a72f9e8bb14138fc (diff)
downloadbuildroot-e10cf295c900790d96d777cc7ff0aea287afd056.tar.gz
buildroot-e10cf295c900790d96d777cc7ff0aea287afd056.zip
alsa-utils: remove -ldl in static builds
Since commit ffd7a00aef723 (alsa-lib: add patch to remove hardcoded -ldl) we patch alsa.m4 from alsa-lib to remove -ldl on static builds. Autoreconf alsa-utils to regenerate aclocal.m4 using our alsa.m4 so we don't end up linking the utilities against -ldl if not needed/available. We also need to gettextize alsa-utils because we use a more recent gettext version. Fixes: http://autobuild.buildroot.net/results/314/314dac9f5e62ae9beb598eb1b4cb35c0a7bfe792/ http://autobuild.buildroot.net/results/964/964e44f0c1653370600c7e8c647abda3f6380e34/ http://autobuild.buildroot.net/results/d72/d72f31bab907c7485d03db4597d01fd759277db4/ ... Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/alsa-utils')
-rw-r--r--package/alsa-utils/alsa-utils.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/package/alsa-utils/alsa-utils.mk b/package/alsa-utils/alsa-utils.mk
index a599af8f5e..f95e7a8e3a 100644
--- a/package/alsa-utils/alsa-utils.mk
+++ b/package/alsa-utils/alsa-utils.mk
@@ -12,6 +12,10 @@ ALSA_UTILS_LICENSE_FILES = COPYING
ALSA_UTILS_INSTALL_STAGING = YES
ALSA_UTILS_DEPENDENCIES = host-gettext host-pkgconf alsa-lib \
$(if $(BR2_PACKAGE_NCURSES),ncurses)
+# Regenerate aclocal.m4 to pick the patched
+# version of alsa.m4 from alsa-lib
+ALSA_UTILS_AUTORECONF = YES
+ALSA_UTILS_GETTEXTIZE = YES
ALSA_UTILS_CONF_ENV = \
ac_cv_prog_ncurses5_config=$(STAGING_DIR)/usr/bin/$(NCURSES_CONFIG_SCRIPTS)
OpenPOWER on IntegriCloud