[opus] Problem compiling opus-tools-0.1.7 (redux).

batguano999 batguano999 at zoho.com
Wed Dec 4 11:12:46 PST 2013

 > "Maybe opus-tools relies on the fact that libopus is linked with libm" 
 > "Linking statically requires -lm, but there's no way for opus-tools to know you've done this" 
 > From here ---> http://lists.xiph.org/pipermail/opus/2013-September/002252.html 
 > Solution... 
 > When linking statically, instead of using the "LIBS=-lm" workaround... 
 > the bug can be fixed by moving -lm from Libs.private to Libs (in opus.pc file in pkgconfig). 
 > Can this be fixed in git? 

To answer my own question... "yes it can".

I've attached a patch to move -lm from Libs.private to Libs to help opus-tools link statically.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Libs.private.patch
Type: application/octet-stream
Size: 220 bytes
Desc: not available
Url : http://lists.xiph.org/pipermail/opus/attachments/20131204/d4e42f1c/attachment.obj 

More information about the opus mailing list