check if version.h exists

This commit is contained in:
Jaquee 2017-01-16 14:17:30 +01:00
parent 7f9cc73485
commit 977f5125e6
No known key found for this signature in database
GPG Key ID: 384E52B09F45DC39
1 changed files with 3 additions and 0 deletions

View File

@ -44,6 +44,9 @@ MONEROD_EXEC=monerod
if [ ! -f $MONERO_DIR/lib/libwallet_merged.a ]; then
echo "libwallet_merged.a not found - Building libwallet"
$SHELL get_libwallet_api.sh $BUILD_TYPE
elif [ ! -f $MONERO_DIR/version.sh ]; then
echo "monero/version.h not found - Building libwallet"
$SHELL get_libwallet_api.sh $BUILD_TYPE
else
source ./$MONERO_DIR/version.sh
# update monero submodule