Browse Source

fix the example Makefile

libingjun 6 years ago
parent
commit
d1080087d3
1 changed files with 1 additions and 1 deletions
  1. 1 1
      example/Makefile

+ 1 - 1
example/Makefile

@@ -1,6 +1,6 @@
 
 
 #CXX = clang++
 #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
 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
 ZLIB_SUPPORT = -DCPPHTTPLIB_ZLIB_SUPPORT -lz