File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -220,15 +220,16 @@ 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 LIBS='-lboost_filesystem -lboost_system' "
223
+ CONFIGURE_ARGS=" --with-incompatible-bdb --with-boost-libdir=$BOOST_LIBRARYDIR --with-protobuf=$PROTOBUF_DIR "
224
224
225
225
echo -e " ${GREEN} >>> Running autogen.sh...${RESET} "
226
226
chmod +x share/genbuild.sh autogen.sh
227
227
./autogen.sh
228
228
229
229
echo -e " ${CYAN} >>> Cleaning previous build config...${RESET} "
230
- make distclean || true
231
-
230
+ if [ -f Makefile ]; then
231
+ make distclean || true
232
+ fi
232
233
233
234
echo -e " ${GREEN} >>> Running configure with args: $CONFIGURE_ARGS ${RESET} "
234
235
if [[ " $BUILD_CHOICE " == " 1" ]]; then
You can’t perform that action at this time.
0 commit comments