libfcgi: link with libm when needed
authorThomas Claveirole <thomas.claveirole@green-communications.fr>
Fri, 29 May 2015 16:15:10 +0000 (18:15 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Fri, 10 Jul 2015 22:23:11 +0000 (00:23 +0200)
commit51c9ee06553a533e1404ee512c998b15f4b73fa2
treeef49dd5d3c1ab513b21cf236f49347f4dc8feb6a
parent6272583956ebd659f40cd5e7ef89367abaa83539
libfcgi: link with libm when needed

libfcgi uses frexp() and thus should link with libm, but fails to do
so.  Thus link errors with programs that use libfcgi (the bug does
appear only with uClibc, because the GNU libc provides frexp()
directly in libc.so).  Modify 0003-link-against-math.patch so libfcgi
links against math, instead of programs that need it.

Signed-off-by: Thomas Claveirole <thomas.claveirole@green-communications.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/libfcgi/0003-link-against-math.patch