[vlc-devel] [PATCH] livehttp: ceil() requires linking with libm

Sebastian Ramacher sebastian+lists at ramacher.at
Wed Nov 6 13:54:28 CET 2019


On 2019-11-06 08:33:43, Steve Lhomme wrote:
> What do you use to build ?
> It's odd that none of the targets we build in Gitlab got this issue:
> 
> https://code.videolan.org/videolan/vlc/pipelines/10821

That just means that the call to ceil got inlined in those builds. In
Sean's build, it didn't, so it failed to link.

Cheers

> 
> On 2019-11-06 6:24, Sean McGovern wrote:
> > ---
> >   modules/access_output/Makefile.am | 2 +-
> >   1 file changed, 1 insertion(+), 1 deletion(-)
> > 
> > diff --git a/modules/access_output/Makefile.am b/modules/access_output/Makefile.am
> > index 224e93eee0..f6f78c0b73 100644
> > --- a/modules/access_output/Makefile.am
> > +++ b/modules/access_output/Makefile.am
> > @@ -14,7 +14,7 @@ access_out_LTLIBRARIES = \
> >   libaccess_output_livehttp_plugin_la_SOURCES = access_output/livehttp.c
> >   libaccess_output_livehttp_plugin_la_CFLAGS = $(AM_CFLAGS) $(GCRYPT_CFLAGS)
> > -libaccess_output_livehttp_plugin_la_LIBADD = $(GCRYPT_LIBS) -lgpg-error
> > +libaccess_output_livehttp_plugin_la_LIBADD = $(GCRYPT_LIBS) -lgpg-error $(LIBM)
> >   if HAVE_GCRYPT
> >   access_out_LTLIBRARIES += libaccess_output_livehttp_plugin.la
> >   endif
> > -- 
> > 2.17.1
> > 
> > _______________________________________________
> > vlc-devel mailing list
> > To unsubscribe or modify your subscription options:
> > https://mailman.videolan.org/listinfo/vlc-devel
> > 
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel

-- 
Sebastian Ramacher


More information about the vlc-devel mailing list