Browse Source

Merge pull request #185 from gaoyadianta/master

fix the example Makefile
yhirose 6 years ago
parent
commit
63d0056826
1 changed files with 1 additions and 1 deletions
  1. 1 1
      example/Makefile

+ 1 - 1
example/Makefile

@@ -1,6 +1,6 @@
 
 #CXX = clang++
-CXXFLAGS = -std=c++14 -I.. -Wall -Wextra -lpthread
+CXXFLAGS = -std=c++14 -I.. -Wall -Wextra -pthread
 OPENSSL_SUPPORT = -DCPPHTTPLIB_OPENSSL_SUPPORT -I/usr/local/opt/openssl/include -L/usr/local/opt/openssl/lib -lssl -lcrypto
 ZLIB_SUPPORT = -DCPPHTTPLIB_ZLIB_SUPPORT -lz