File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 1
1
2
2
# CXX = clang++
3
3
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
5
6
ZLIB_SUPPORT = -DCPPHTTPLIB_ZLIB_SUPPORT -lz
6
7
7
8
all : server client hello simplesvr redirect benchmark
Original file line number Diff line number Diff line change 1
1
2
2
# CXX = clang++
3
3
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
5
6
ZLIB_SUPPORT = -DCPPHTTPLIB_ZLIB_SUPPORT -lz
6
7
7
8
all : test
You can’t perform that action at this time.
0 commit comments