Skip to content

Commit ec31e39

Browse files
Update build_aegisum_mac.sh
1 parent 569c932 commit ec31e39

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

build_aegisum_mac.sh

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -220,15 +220,16 @@ 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 LIBS='-lboost_filesystem -lboost_system'"
223+
CONFIGURE_ARGS="--with-incompatible-bdb --with-boost-libdir=$BOOST_LIBRARYDIR --with-protobuf=$PROTOBUF_DIR"
224224

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

229229
echo -e "${CYAN}>>> Cleaning previous build config...${RESET}"
230-
make distclean || true
231-
230+
if [ -f Makefile ]; then
231+
make distclean || true
232+
fi
232233

233234
echo -e "${GREEN}>>> Running configure with args: $CONFIGURE_ARGS${RESET}"
234235
if [[ "$BUILD_CHOICE" == "1" ]]; then

0 commit comments

Comments
 (0)