File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -208,7 +208,7 @@ if [[ -n "$PROTOBUF_DIR" ]]; then
208208fi
209209
210210# 🛠️ Critical fix for Boost linking
211- export LIBS=" -lboost_system -lboost_filesystem"
211+ export LIBS=" $LIBS -lboost_filesystem -lboost_system "
212212
213213export CC=clang
214214export CXX=clang++
@@ -220,7 +220,7 @@ export CPPFLAGS="$(echo "$CPPFLAGS" | sed 's|/opt/local[^ ]*||g')"
220220# --------------------------
221221# Configure and Build
222222# --------------------------
223- CONFIGURE_ARGS=" --with-incompatible-bdb --with-boost-libdir=$BOOST_LIBRARYDIR --with-protobuf=$PROTOBUF_DIR "
223+ CONFIGURE_ARGS=" --with-incompatible-bdb --with-boost-libdir=$BOOST_LIBRARYDIR --with-protobuf=$PROTOBUF_DIR LIBS='-lboost_filesystem -lboost_system' "
224224
225225echo -e " ${GREEN} >>> Running autogen.sh...${RESET} "
226226chmod +x share/genbuild.sh autogen.sh
You can’t perform that action at this time.
0 commit comments