Don't build monerod on win32

Signed-off-by: Jaquee <jaquee.monero@gmail.com>
This commit is contained in:
Jaquee 2016-12-09 11:12:53 +01:00
parent 5437820af0
commit 401d09fab7
2 changed files with 10 additions and 4 deletions

View file

@ -48,7 +48,9 @@ qmake ../monero-core.pro "$CONFIG"
make
# Copy monerod to bin folder
if [ "$platform" != "mingw32" ]; then
cp ../$MONERO_DIR/bin/$MONEROD_EXEC $BIN_PATH
fi
# make deploy
popd

View file

@ -78,10 +78,14 @@ eval $make_exec install -j$CPU_CORE_COUNT
popd
# Build monerod
# win32 need to build daemon manually with msys2 toolchain
if [ "$platform" != "mingw32" ]; then
pushd $MONERO_DIR/build/release/src/daemon
eval $make_exec -j$CPU_CORE_COUNT
eval $make_exec install -j$CPU_CORE_COUNT
eval make -j$CPU_CORE_COUNT
eval make install -j$CPU_CORE_COUNT
popd
fi
# unbound is one more dependency. can't be merged to the wallet_merged
# since filename conflict (random.c.obj)