aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaquee <jaquee.monero@gmail.com>2016-12-09 11:12:53 +0100
committerJaquee <jaquee.monero@gmail.com>2016-12-09 11:31:33 +0100
commit401d09fab7f911ea7d22e5befc446f156ddac046 (patch)
tree444ce857e292444ffc0492f3d0974f8662903283
parent5437820af0f4e04563b158f6f1e982479ae8a333 (diff)
downloadmonzero-gui-401d09fab7f911ea7d22e5befc446f156ddac046.tar.gz
monzero-gui-401d09fab7f911ea7d22e5befc446f156ddac046.tar.xz
monzero-gui-401d09fab7f911ea7d22e5befc446f156ddac046.zip
Don't build monerod on win32
Signed-off-by: Jaquee <jaquee.monero@gmail.com>
-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)