Commit 3c1a726f authored by wenweihu86's avatar wenweihu86

update openssl path

parent f85311d5
......@@ -136,12 +136,16 @@ find_dir_of_header_or_die() {
$ECHO $dir
}
# User specified path of openssl, if not given it's empty
OPENSSL_LIB=$(find_dir_of_lib ssl)
# Inconvenient to check these headers in baidu-internal
#PTHREAD_HDR=$(find_dir_of_header_or_die pthread.h)
OPENSSL_HDR=$(find_dir_of_header_or_die openssl/ssl.h)
if [ "$SYSTEM" = "Darwin" ]; then
OPENSSL_LIB="/usr/local/opt/openssl/lib"
OPENSSL_HDR="/usr/local/opt/openssl/include"
else
# User specified path of openssl, if not given it's empty
OPENSSL_LIB=$(find_dir_of_lib ssl)
# Inconvenient to check these headers in baidu-internal
#PTHREAD_HDR=$(find_dir_of_header_or_die pthread.h)
OPENSSL_HDR=$(find_dir_of_header_or_die openssl/ssl.h)
fi
if [ $WITH_MESALINK != 0 ]; then
MESALINK_HDR=$(find_dir_of_header_or_die mesalink/openssl/ssl.h)
......
......@@ -278,7 +278,7 @@ git clone https://github.com/google/googletest && cd googletest/googletest && mk
### Compile brpc with config_brpc.sh
git clone brpc, cd into the repo and run
```shell
$ sh config_brpc.sh --headers=/usr/local --libs=/usr/local --cc=clang --cxx=clang++
$ sh config_brpc.sh --headers=/usr/local/include --libs=/usr/local/lib --cc=clang --cxx=clang++
$ make
```
To not link debugging symbols, add `--nodebugsymbols` and compiled binaries will be much smaller.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment