[Buildroot] [git commit] tinyhttpd: do not link against pthread

Peter Korsgaard jacmet at sunsite.dk
Sun Jun 23 19:47:15 UTC 2013

commit: http://git.buildroot.net/buildroot/commit/?id=c3cf32ebf55c203ec4d3fcd566ca64bf173b9079
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master

Original patch for tinyhttpd disables pthread support from the code
but does not disable it from makefile.
This patch disables pthread support altogether


Signed-off-by: Gilles Talis <gilles.talis at gmail.com>
Signed-off-by: Peter Korsgaard <jacmet at sunsite.dk>
 package/tinyhttpd/tinyhttpd.patch |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/package/tinyhttpd/tinyhttpd.patch b/package/tinyhttpd/tinyhttpd.patch
index 02eb189..05d6e50 100644
--- a/package/tinyhttpd/tinyhttpd.patch
+++ b/package/tinyhttpd/tinyhttpd.patch
@@ -73,7 +73,7 @@ diff -ur tinyhttpd-0.1.0/Makefile tinyhttpd-0.1.0-patched/Makefile
  httpd: httpd.c
 -	gcc -W -Wall -lsocket -lpthread -o httpd httpd.c
-+	$(CC) $(CFLAGS) $(LDFLAGS) -W -Wall -lpthread -o httpd httpd.c
++	$(CC) $(CFLAGS) $(LDFLAGS) -W -Wall -o httpd httpd.c
 -	rm httpd

More information about the buildroot mailing list