[FFmpeg-devel] [PATCH] configure: link flite against libasound
Stefano Sabatini
stefasab at gmail.com
Fri Oct 5 23:45:48 CEST 2012
On date Friday 2012-10-05 23:38:08 +0200, Stefano Sabatini encoded:
> On date Friday 2012-10-05 23:33:59 +0200, Stefano Sabatini encoded:
> > libflite depends on libasound. This should fix a linking failure on
> > Ubuntu 12.04.
> >
> > Reported-by: Vladimir Kraljevic
> > ---
> > configure | 2 +-
> > 1 files changed, 1 insertions(+), 1 deletions(-)
> >
> > diff --git a/configure b/configure
> > index 817c9cf..322e13a 100755
> > --- a/configure
> > +++ b/configure
> > @@ -3650,7 +3650,7 @@ enabled libcelt && require libcelt celt/celt.h celt_decode -lcelt0 &&
> > enabled libcaca && require_pkg_config caca caca.h caca_create_canvas
> > enabled libfaac && require2 libfaac "stdint.h faac.h" faacEncGetVersion -lfaac
> > enabled libfdk_aac && require libfdk_aac fdk-aac/aacenc_lib.h aacEncOpen -lfdk-aac
> > -flite_libs="-lflite_cmu_time_awb -lflite_cmu_us_awb -lflite_cmu_us_kal -lflite_cmu_us_kal16 -lflite_cmu_us_rms -lflite_cmu_us_slt -lflite_usenglish -lflite_cmulex -lflite"
> > +flite_libs="-lflite_cmu_time_awb -lflite_cmu_us_awb -lflite_cmu_us_kal -lflite_cmu_us_kal16 -lflite_cmu_us_rms -lflite_cmu_us_slt -lflite_usenglish -lflite_cmulex -lflite -lasound"
> > enabled libflite && require2 libflite "flite/flite.h" flite_init $flite_libs
> > enabled libfreetype && require_pkg_config freetype2 "ft2build.h freetype/freetype.h" FT_Init_FreeType
> > enabled libgsm && require libgsm gsm/gsm.h gsm_create -lgsm
>
> I was silly and didn't insist for the guy to file a ticket, so I ask
> someone to test and check if this fixes the failure (here on ubuntu
> 11.10 it works fine even without the fix). Thanks.
Forgot to say, to disable libasound auto detection, run the line:
configure --disable-indevs --disable-outdevs --enable-libflite
--
FFmpeg = Furious and Fantastic Mega Proud Enhancing Gadget
More information about the ffmpeg-devel
mailing list