]> git.alsa-project.org Git - alsa-plugins.git/commitdiff
usb_stream: Add explicit -lpthread to *_LIBADD
authorTakashi Iwai <tiwai@suse.de>
Tue, 22 May 2018 12:15:21 +0000 (14:15 +0200)
committerTakashi Iwai <tiwai@suse.de>
Tue, 22 May 2018 12:17:41 +0000 (14:17 +0200)
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 <tiwai@suse.de>
usb_stream/Makefile.am

index 203618b478c442155abb9e786c7ae72316c16b1c..fde2455e237a01e5cd3d6a665118b191d13efdd6 100644 (file)
@@ -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