Skip to content

Commit

Permalink
fixing OS build
Browse files Browse the repository at this point in the history
  • Loading branch information
tehnerd committed Oct 7, 2018
1 parent 39e58b5 commit a285e9b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
3 changes: 3 additions & 0 deletions build_katran.sh
Expand Up @@ -235,6 +235,9 @@ get_grpc() {
git clone --depth 1 https://github.com/grpc/grpc
cd grpc
git submodule update --init
mkdir build
cd build
cmake ..
make -j $NCPUS
sudo make install
cd third_party/protobuf
Expand Down
4 changes: 4 additions & 0 deletions example/CMakeLists.txt
Expand Up @@ -44,6 +44,8 @@ find_library(LIBSNAPPY libsnappy.a snappy)
find_library(LIBZSTD libzstd.a zstd)
find_library(LIBBOOST_CONTEXT libboost_context.a boost_context)
find_library(LIBRE2 libre2.a re2)
find_library(LIBSODIUM libsodium.a libsodium)
find_library(LIBFIZZ libfizz.a libfizz)

add_library(simple_service_handler
KatranSimpleServiceHandler.cpp
Expand Down Expand Up @@ -81,6 +83,8 @@ target_link_libraries(simple_katran_server
"${LIBCONCURRENCY}"
"${LIBASYNC}"
"${LIBWANGLE}"
"${LIBSODIUM}"
"${LIBFIZZ}"
"${LIBGSS}"
"${LIBLZMA}"
"${LIBLZ4}"
Expand Down

0 comments on commit a285e9b

Please sign in to comment.