Browse Source

Use -pthread

yhirose 6 years ago
parent
commit
3541fe8330
1 changed files with 1 additions and 1 deletions
  1. 1 1
      test/Makefile

+ 1 - 1
test/Makefile

@@ -8,7 +8,7 @@ all : test
 	./test
 	./test
 
 
 test : test.cc ../httplib.h Makefile cert.pem
 test : test.cc ../httplib.h Makefile cert.pem
-	$(CXX) -o test $(CXXFLAGS) test.cc gtest/gtest-all.cc gtest/gtest_main.cc $(OPENSSL_SUPPORT) $(ZLIB_SUPPORT) -lpthread
+	$(CXX) -o test $(CXXFLAGS) test.cc gtest/gtest-all.cc gtest/gtest_main.cc $(OPENSSL_SUPPORT) $(ZLIB_SUPPORT) -pthread
 
 
 cert.pem:
 cert.pem:
 	openssl genrsa 2048 > key.pem
 	openssl genrsa 2048 > key.pem