[alsa-devel] [PATCH 1/3] Link arcam-av module against libpthread.

Jordi Mallach jordi at debian.org
Wed May 15 19:11:46 CEST 2013


From: Steve Langasek <steve.langasek at canonical.com>

The arcam-av module uses libpthread, so it should pass -pthread explicitly
when building in order to avoid leaving any undefined symbols or missing
symbol versioning info.

Signed-off-by: Jordi Mallach <jordi at debian.org>
---
 arcam-av/Makefile.am |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arcam-av/Makefile.am b/arcam-av/Makefile.am
index 5c7855f..eeb2e90 100644
--- a/arcam-av/Makefile.am
+++ b/arcam-av/Makefile.am
@@ -3,7 +3,7 @@ asound_module_ctl_arcam_av_LTLIBRARIES = libasound_module_ctl_arcam_av.la
 asound_module_ctl_arcam_avdir = @ALSA_PLUGIN_DIR@
 
 AM_CFLAGS = -Wall -g @ALSA_CFLAGS@
-AM_LDFLAGS = -module -avoid-version -export-dynamic -no-undefined
+AM_LDFLAGS = -module -avoid-version -export-dynamic -no-undefined -pthread
 
 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@
-- 
1.7.10.4



More information about the Alsa-devel mailing list