summaryrefslogtreecommitdiffstats
path: root/extra/fcgi/10-fcgi-2.4.0-Makefile.patch
blob: dad4cd6e02dddca4d7fbe17b62c0e3a352be08b1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
Index: fcgi-2.4.0/cgi-fcgi/Makefile.am
===================================================================
--- fcgi-2.4.0.orig/cgi-fcgi/Makefile.am
+++ fcgi-2.4.0/cgi-fcgi/Makefile.am
@@ -11,5 +11,5 @@ INCLUDE_FILES   = $(INCLUDEDIR)/fastcgi.
 LIBDIR      = ../libfcgi
 LIBFCGI     = $(LIBDIR)/libfcgi.la
 
-LDADD = $(LIBFCGI)
+LDADD = $(LIBFCGI) -lm
 cgi_fcgi_SOURCES = $(INCLUDE_FILES) cgi-fcgi.c
Index: fcgi-2.4.0/examples/Makefile.am
===================================================================
--- fcgi-2.4.0.orig/examples/Makefile.am
+++ fcgi-2.4.0/examples/Makefile.am
@@ -21,7 +21,7 @@ INCLUDE_FILES   = $(INCLUDEDIR)/fastcgi.
 LIBDIR      = ../libfcgi
 LIBFCGI     = $(LIBDIR)/libfcgi.la
 
-LDADD = $(LIBFCGI)
+LDADD = $(LIBFCGI) -lm
 
 echo_SOURCES       = $(INCLUDE_FILES) echo.c
 echo_x_SOURCES     = $(INCLUDE_FILES) echo-x.c