From 977f5125e6295f61c098a5c96548beef44ce836a Mon Sep 17 00:00:00 2001 From: Jaquee Date: Mon, 16 Jan 2017 14:17:30 +0100 Subject: [PATCH] check if version.h exists --- build.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/build.sh b/build.sh index 9301efa9..445dd2ad 100755 --- a/build.sh +++ b/build.sh @@ -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