1
0
mirror of synced 2025-04-20 11:47:43 +03:00

Use -pthread

This commit is contained in:
yhirose 2019-07-09 22:31:55 -04:00
parent 63d0056826
commit 3541fe8330

View File

@ -8,7 +8,7 @@ all : test
./test
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:
openssl genrsa 2048 > key.pem