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:
parent
953430bc4d
commit
c3cf32ebf5
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue