Skip to contentSkip to conversation

tinyhttpd: do not link against pthread

PATCH New Gilles Talis 2 participants 2 messages Jun 21, 2013 – Jun 24, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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

---
 package/tinyhttpd/tinyhttpd.patch |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
package/tinyhttpd/tinyhttpd.patch +1 -1
index 02eb189..05d6e50 100644
@@ -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
Signature · 1 line
1.7.4.1
#1 lore raw

PATCH 1/1 tinyhttpd: do not link against pthread

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Gilles" == Gilles Talis <[email protected]> writes:

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

Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard