Skip to contentSkip to conversation

alsa-utils: remove -ldl in static builds

PATCH New Baruch Siach 2 participants 2 messages Jan 27, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

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/
...

---
 package/alsa-utils/alsa-utils.mk | 4 ++++
 1 file changed, 4 insertions(+)
package/alsa-utils/alsa-utils.mk +4 -0
index a599af8f5e76..f95e7a8e3a65 100644
@@ -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)
Signature · 1 line
2.1.4
#1 lore raw

PATCH 1/1 alsa-utils: remove -ldl in static builds

Quoted 9 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Baruch" == Baruch Siach <[email protected]> writes:

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.

We also need to gettextize alsa-utils because we use a more recent gettext version.

Quoted 7 lines

Fixes:
http://autobuild.buildroot.net/results/314/314dac9f5e62ae9beb598eb1b4cb35c0a7bfe792/
http://autobuild.buildroot.net/results/964/964e44f0c1653370600c7e8c647abda3f6380e34/
http://autobuild.buildroot.net/results/d72/d72f31bab907c7485d03db4597d01fd759277db4/
...

Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard