Commit c3cf32eb authored by gilles.talis@gmail.com's avatar gilles.talis@gmail.com Committed by Peter Korsgaard
Browse files

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: default avatarGilles Talis <gilles.talis@gmail.com>
Signed-off-by: default avatarPeter Korsgaard <jacmet@sunsite.dk>
parent 953430bc
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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