Skip to content

Commit a106bd3

Browse files
committed
Merge branch 'master' of https://github.com/yhirose/cpp-httplib
2 parents dfc0133 + e4fd9f1 commit a106bd3

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

example/Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11

22
#CXX = clang++
33
CXXFLAGS = -std=c++14 -I.. -Wall -Wextra -pthread
4-
OPENSSL_SUPPORT = -DCPPHTTPLIB_OPENSSL_SUPPORT -I/usr/local/opt/openssl/include -L/usr/local/opt/openssl/lib -lssl -lcrypto
4+
OPENSSL_DIR = /usr/local/opt/openssl
5+
OPENSSL_SUPPORT = -DCPPHTTPLIB_OPENSSL_SUPPORT -I$(OPENSSL_DIR)/include -L$(OPENSSL_DIR)/lib -lssl -lcrypto
56
ZLIB_SUPPORT = -DCPPHTTPLIB_ZLIB_SUPPORT -lz
67

78
all: server client hello simplesvr redirect benchmark

test/Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11

22
#CXX = clang++
33
CXXFLAGS = -ggdb -O0 -std=c++11 -DGTEST_USE_OWN_TR1_TUPLE -I.. -I. -Wall -Wextra -Wtype-limits
4-
OPENSSL_SUPPORT = -DCPPHTTPLIB_OPENSSL_SUPPORT -I/usr/local/opt/openssl/include -L/usr/local/opt/openssl/lib -lssl -lcrypto
4+
OPENSSL_DIR = /usr/local/opt/openssl
5+
OPENSSL_SUPPORT = -DCPPHTTPLIB_OPENSSL_SUPPORT -I$(OPENSSL_DIR)/include -L$(OPENSSL_DIR)/lib -lssl -lcrypto
56
ZLIB_SUPPORT = -DCPPHTTPLIB_ZLIB_SUPPORT -lz
67

78
all : test

0 commit comments

Comments
 (0)