]> git.alsa-project.org Git - alsa-plugins.git/commitdiff
arcam-av: Add explicit -lpthread to *_LIBADD
authorTakashi Iwai <tiwai@suse.de>
Tue, 22 May 2018 12:13:53 +0000 (14:13 +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>
arcam-av/Makefile.am

index c16aec0d37ed018f7d704b0feeb7980be896d313..57d554216821b0066b740b31842f1e1247f70e81 100644 (file)
@@ -12,7 +12,7 @@ AM_CFLAGS = -Wall -g @ALSA_CFLAGS@
 AM_LDFLAGS = -module -avoid-version -export-dynamic -no-undefined
 
 libasound_module_ctl_arcam_av_la_SOURCES = ctl_arcam_av.c arcam_av.c arcam_av.h
-libasound_module_ctl_arcam_av_la_LIBADD = @ALSA_LIBS@
+libasound_module_ctl_arcam_av_la_LIBADD = @ALSA_LIBS@ -lpthread
 
 include ../install-hooks.am