All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH v1] madplay: add explicitly link against phthread library in case of alsasound support
@ 2015-01-31 19:34 Peter Seiderer
  0 siblings, 0 replies; only message in thread
From: Peter Seiderer @ 2015-01-31 19:34 UTC (permalink / raw)
  To: buildroot

Fixes [1]: configure check for libasound failed because of missing
pthread linkage.

[1] http://autobuild.buildroot.net/results/f3a/f3a0b3ff15e729d223c8c8ee6af75c425cd344b6/

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
---
 package/madplay/madplay.mk | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/package/madplay/madplay.mk b/package/madplay/madplay.mk
index 1907eb5..49c3e5d 100644
--- a/package/madplay/madplay.mk
+++ b/package/madplay/madplay.mk
@@ -16,6 +16,8 @@ MADPLAY_DEPENDENCIES = libmad libid3tag $(if $(BR2_PACKAGE_GETTEXT),gettext)
 ifeq ($(BR2_PACKAGE_MADPLAY_ALSA),y)
 MADPLAY_CONF_OPTS += --with-alsa
 MADPLAY_DEPENDENCIES += alsa-lib
+# explicitly link against pthread library, fixes libasound configure check
+MADPLAY_CONF_ENV = LIBS=-lpthread
 endif
 
 $(eval $(autotools-package))
-- 
2.1.2

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2015-01-31 19:34 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-01-31 19:34 [Buildroot] [PATCH v1] madplay: add explicitly link against phthread library in case of alsasound support Peter Seiderer

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.