aboutsummaryrefslogtreecommitdiff
path: root/package/libfcgi/0003-link-against-math.patch
blob: c60c6d50ce95662ac1c53f901164d52f05ec7674 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Link libfcgi against the math library.

Signed-off-by: Thomas Claveirole <thomas.claveirole@green-communications.fr>

Index: b/libfcgi/Makefile.am
===================================================================
--- a/libfcgi/Makefile.am
+++ b/libfcgi/Makefile.am
@@ -18,6 +18,7 @@
                      os_@SYSTEM@.c
 libfcgi_la_CC      = @PTHREAD_CC@
 libfcgi_la_CFLAGS  = @PTHREAD_CFLAGS@
+libfcgi_la_LIBADD  = -lm
 
 libfcgi___la_SOURCES = $(INCLUDE_FILES)       \
                        $(INCLUDEDIR)/fcgio.h  \