tinyhttpd: do not link against pthread

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

Fixes:
http://autobuild.buildroot.net/results/2e61a80fcbddd62c76e0406c34ab44d14a4b5c79

Signed-off-by: Gilles Talis <gilles.talis@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
gilles.talis@gmail.com 2013-06-21 10:59:44 -07:00 committed by Peter Korsgaard
parent 953430bc4d
commit c3cf32ebf5
1 changed files with 1 additions and 1 deletions

View File

@ -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
clean:
- rm httpd