[oe-commits] org.oe.dev fastcgi: Link with -lm. uclibc requires this. Fixes #4421.
likewise commit
oe at amethyst.openembedded.net
Wed Jul 9 19:15:04 UTC 2008
fastcgi: Link with -lm. uclibc requires this. Fixes #4421.
Author: likewise at openembedded.org
Branch: org.openembedded.dev
Revision: 2b98fc6fe63ab6d8f550bd5e53546e27d970f533
ViewMTN: http://monotone.openembedded.org/revision/info/2b98fc6fe63ab6d8f550bd5e53546e27d970f533
Files:
1
packages/fastcgi/files
packages/fastcgi/files/link-against-math.patch
packages/fastcgi/fastcgi_2.4.0.bb
Diffs:
#
# mt diff -r86723d243cf88e9e28bd5e71d4b712ca0cc213c4 -r2b98fc6fe63ab6d8f550bd5e53546e27d970f533
#
#
#
# add_dir "packages/fastcgi/files"
#
# add_file "packages/fastcgi/files/link-against-math.patch"
# content [072e1afbda9f530c7274d0a7966543d862e4c5f3]
#
# patch "packages/fastcgi/fastcgi_2.4.0.bb"
# from [865f9d310ddf05e89de798145b06cce3ece5b683]
# to [2801e4594a4cb85ac3d88807719e4447918dc14d]
#
============================================================
--- packages/fastcgi/files/link-against-math.patch 072e1afbda9f530c7274d0a7966543d862e4c5f3
+++ packages/fastcgi/files/link-against-math.patch 072e1afbda9f530c7274d0a7966543d862e4c5f3
@@ -0,0 +1,26 @@
+Need to link against the C math library (-lm) at least for uclibc.
+
+Index: fcgi-2.4.0/cgi-fcgi/Makefile.am
+===================================================================
+--- fcgi-2.4.0.orig/cgi-fcgi/Makefile.am 2008-07-09 20:54:56.000000000 +0200
++++ fcgi-2.4.0/cgi-fcgi/Makefile.am 2008-07-09 20:55:12.000000000 +0200
+@@ -11,5 +11,5 @@
+ 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 2008-07-09 20:54:56.000000000 +0200
++++ fcgi-2.4.0/examples/Makefile.am 2008-07-09 20:55:11.000000000 +0200
+@@ -21,7 +21,7 @@
+ 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
============================================================
--- packages/fastcgi/fastcgi_2.4.0.bb 865f9d310ddf05e89de798145b06cce3ece5b683
+++ packages/fastcgi/fastcgi_2.4.0.bb 2801e4594a4cb85ac3d88807719e4447918dc14d
@@ -1,8 +1,9 @@ DESCRIPTION = "Fast CGI backend (web ser
LICENSE = "Open Market"
DESCRIPTION = "Fast CGI backend (web server to CGI handler) library"
-PR = "r1"
+PR = "r2"
-SRC_URI = "http://www.fastcgi.com/dist/fcgi-${PV}.tar.gz"
+SRC_URI = "http://www.fastcgi.com/dist/fcgi-${PV}.tar.gz \
+file://link-against-math.patch;patch=1"
S=${WORKDIR}/fcgi-${PV}
@@ -16,6 +17,3 @@ do_stage() {
autotools_stage_all
}
-do_compile() {
-}
-
More information about the Openembedded-commits
mailing list