From: Takashi Iwai Date: Tue, 22 May 2018 12:15:21 +0000 (+0200) Subject: usb_stream: Add explicit -lpthread to *_LIBADD X-Git-Tag: v1.1.7~12 X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=2d310f84e7af4c5b4bc68a6e45500e874df482f9;p=alsa-plugins.git 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 --- 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