From 2d310f84e7af4c5b4bc68a6e45500e874df482f9 Mon Sep 17 00:00:00 2001 From: Takashi Iwai Date: Tue, 22 May 2018 14:15:21 +0200 Subject: [PATCH] usb_stream: Add explicit -lpthread to *_LIBADD The pthread library has to be linked for this module. In some tool chains, it results in a build error. Signed-off-by: Takashi Iwai --- usb_stream/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usb_stream/Makefile.am b/usb_stream/Makefile.am index 203618b..fde2455 100644 --- a/usb_stream/Makefile.am +++ b/usb_stream/Makefile.am @@ -12,7 +12,7 @@ AM_CFLAGS = -Wall -g @ALSA_CFLAGS@ AM_LDFLAGS = -module -avoid-version -export-dynamic $(LDFLAGS_NOUNDEFINED) libasound_module_pcm_usb_stream_la_SOURCES = pcm_usb_stream.c -libasound_module_pcm_usb_stream_la_LIBADD = @ALSA_LIBS@ +libasound_module_pcm_usb_stream_la_LIBADD = @ALSA_LIBS@ -lpthread noinst_HEADERS = usb_stream.h -- 2.47.3