Skip to content

Commit

Permalink
Followup to review comments.
Browse files Browse the repository at this point in the history
  • Loading branch information
jcferretti committed Aug 18, 2023
1 parent f818984 commit 75a6124
Showing 1 changed file with 15 additions and 6 deletions.
21 changes: 15 additions & 6 deletions cpp-client/build-dependencies.sh
Original file line number Diff line number Diff line change
Expand Up @@ -378,10 +378,21 @@ set -x
# Let's get make to print out commands as they run
export VERBOSE=1

all_libs="
PROTOBUF
RE2
GFLAGS
ABSEIL
FLATBUFFERS
CARES
ZLIB
GRPC
ARROW
IMMER
"

CMAKE_PREFIX_PATH=""
for lib in \
PROTOBUF RE2 GFLAGS ABSEIL \
FLATBUFFERS CARES ZLIB GRPC ARROW IMMER; do
for lib in $all_libs; do
build_var="BUILD_${lib}"
if [ "${!build_var}" = "yes" ]; then
lib_dir=$(echo $lib | tr '[A-Z]' '[a-z]')
Expand Down Expand Up @@ -411,9 +422,7 @@ cmake_common_args="${cmake_pic_arg} ${cmake_shared_arg} -DCMAKE_BUILD_TYPE=${BUI

if [ "$shared" = "yes" ]; then
LD_LIBRARY_PATH=""
for lib in \
PROTOBUF RE2 GFLAGS ABSEIL \
FLATBUFFERS CARES ZLIB GRPC ARROW IMMER; do
for lib in $all_libs; do
build_var="BUILD_${lib}"
if [ "${!build_var}" = "yes" ]; then
lib_dir=$(echo $lib | tr '[A-Z]' '[a-z]')
Expand Down

0 comments on commit 75a6124

Please sign in to comment.