From: Takashi Iwai Subject: Re: [PATCH 1/3] Link arcam-av module against libpthread. Date: Thu, 16 May 2013 10:30:26 +0200 Message-ID: References: <1368637908-29042-1-git-send-email-jordi@debian.org> <1368637908-29042-2-git-send-email-jordi@debian.org> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mx2.suse.de (cantor2.suse.de [195.135.220.15]) by alsa0.perex.cz (Postfix) with ESMTP id A1581260850 for ; Thu, 16 May 2013 10:30:32 +0200 (CEST) In-Reply-To: <1368637908-29042-2-git-send-email-jordi@debian.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org To: Jordi Mallach Cc: alsa-devel@alsa-project.org, Steve Langasek List-Id: alsa-devel@alsa-project.org At Wed, 15 May 2013 19:11:46 +0200, Jordi Mallach wrote: > > From: Steve Langasek > > 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 > --- > 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 Is AM_LDFLAGS the right place to add -lXXX? It'd work, but... Takashi > > 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 > > _______________________________________________ > Alsa-devel mailing list > Alsa-devel@alsa-project.org > http://mailman.alsa-project.org/mailman/listinfo/alsa-devel >