瀏覽代碼

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>
gilles.talis@gmail.com 12 年之前
父節點
當前提交
c3cf32ebf5
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      package/tinyhttpd/tinyhttpd.patch

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