aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbuild.sh2
-rwxr-xr-xget_libwallet_api.sh12
2 files changed, 10 insertions, 4 deletions
diff --git a/build.sh b/build.sh
index c5318d8d..f110fb02 100755
--- a/build.sh
+++ b/build.sh
@@ -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
diff --git a/get_libwallet_api.sh b/get_libwallet_api.sh
index 6926d977..06309ecd 100755
--- a/get_libwallet_api.sh
+++ b/get_libwallet_api.sh
@@ -78,10 +78,14 @@ eval $make_exec install -j$CPU_CORE_COUNT
popd
# Build monerod
-pushd $MONERO_DIR/build/release/src/daemon
-eval $make_exec -j$CPU_CORE_COUNT
-eval $make_exec install -j$CPU_CORE_COUNT
-popd
+# win32 need to build daemon manually with msys2 toolchain
+if [ "$platform" != "mingw32" ]; then
+ pushd $MONERO_DIR/build/release/src/daemon
+ 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)