File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -208,7 +208,7 @@ if [[ -n "$PROTOBUF_DIR" ]]; then
208
208
fi
209
209
210
210
# 🛠️ Critical fix for Boost linking
211
- export LIBS=" -lboost_system -lboost_filesystem"
211
+ export LIBS=" $LIBS -lboost_filesystem -lboost_system "
212
212
213
213
export CC=clang
214
214
export CXX=clang++
@@ -220,7 +220,7 @@ export CPPFLAGS="$(echo "$CPPFLAGS" | sed 's|/opt/local[^ ]*||g')"
220
220
# --------------------------
221
221
# Configure and Build
222
222
# --------------------------
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' "
224
224
225
225
echo -e " ${GREEN} >>> Running autogen.sh...${RESET} "
226
226
chmod +x share/genbuild.sh autogen.sh
You can’t perform that action at this time.
0 commit comments