[vlc-devel] [3.0 PATCH] Link libcompat with a library with math functions

Thomas Guillem thomas at gllm.fr
Tue Mar 13 21:53:36 CET 2018


Fine with me . 

On Tue, Mar 13, 2018, at 21:04, Kamil Rytarowski wrote:
> We detect whether math functions are located in -lm in configure.ac.
> Reuse the deliberable of this check and link libcompat with $(LIBM).
> This is required at least for sincos() functions and it has been
> reported as required on NetBSD 8.0.
> ---
>  compat/Makefile.am | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/compat/Makefile.am b/compat/Makefile.am
> index 58094d44a4..d709d565c5 100644
> --- a/compat/Makefile.am
> +++ b/compat/Makefile.am
> @@ -1,6 +1,6 @@
>  pkglib_LTLIBRARIES = libcompat.la
>  libcompat_la_SOURCES = dummy.c
> -libcompat_la_LIBADD = $(LTLIBOBJS) $(LIBRT)
> +libcompat_la_LIBADD = $(LTLIBOBJS) $(LIBRT) $(LIBM)
>  libcompat_la_LDFLAGS = -no-undefined -static
>  
>  BUILT_SOURCES = dummy.c
> -- 
> 2.16.2
> 
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel


More information about the vlc-devel mailing list