From 7a87dd1039616b07e7640e4bf7984a218d6ead81 Mon Sep 17 00:00:00 2001 From: yhirose Date: Fri, 29 Dec 2017 22:34:46 -0500 Subject: [PATCH] Added -lpthread --- example/Makefile | 2 +- test/Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/example/Makefile b/example/Makefile index bd48842..a0e4944 100644 --- a/example/Makefile +++ b/example/Makefile @@ -1,6 +1,6 @@ CC = clang++ -CFLAGS = -std=c++14 -I.. -Wall -Wextra +CFLAGS = -std=c++14 -I.. -Wall -Wextra -lpthread #OPENSSL_SUPPORT = -DCPPHTTPLIB_OPENSSL_SUPPORT -I/usr/local/opt/openssl/include -L/usr/local/opt/openssl/lib -lssl -lcrypto all: server client hello simplesvr benchmark diff --git a/test/Makefile b/test/Makefile index d802397..f466617 100644 --- a/test/Makefile +++ b/test/Makefile @@ -1,6 +1,6 @@ CC = clang++ -CFLAGS = -std=c++11 -DGTEST_USE_OWN_TR1_TUPLE -I.. -I. -Wall -Wextra +CFLAGS = -std=c++11 -DGTEST_USE_OWN_TR1_TUPLE -I.. -I. -Wall -Wextra -lpthread #OPENSSL_SUPPORT = -DCPPHTTPLIB_OPENSSL_SUPPORT -I/usr/local/opt/openssl/include -L/usr/local/opt/openssl/lib -lssl -lcrypto all : test