Skip to content

Commit b98d6da

Browse files
Update build_aegisum_mac.sh
1 parent a76f1d9 commit b98d6da

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

build_aegisum_mac.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ if [[ -n "$PROTOBUF_DIR" ]]; then
208208
fi
209209

210210
# 🛠️ Critical fix for Boost linking
211-
export LIBS="-lboost_system -lboost_filesystem"
211+
export LIBS="$LIBS -lboost_filesystem -lboost_system"
212212

213213
export CC=clang
214214
export 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

225225
echo -e "${GREEN}>>> Running autogen.sh...${RESET}"
226226
chmod +x share/genbuild.sh autogen.sh

0 commit comments

Comments
 (0)