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

Kamil Rytarowski n54 at gmx.com
Tue Mar 13 22:06:41 CET 2018


The same patch is pending for vlc HEAD.

On 13.03.2018 21:53, Thomas Guillem wrote:
> 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
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel
> 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 850 bytes
Desc: OpenPGP digital signature
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20180313/ca85dc29/attachment.sig>


More information about the vlc-devel mailing list