aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaquee <jaquee.monero@gmail.com>2016-12-15 18:01:06 +0100
committerJaquee <jaquee.monero@gmail.com>2016-12-15 18:01:06 +0100
commitf74ef30ace6b45f3c0c29191d17aa1cbe48a6f2e (patch)
tree3fa0599f927f57f715b1491a5e64ed9b4ada6ffc
parent143da2c3904a2b97f8aae814f6d31aee4affde28 (diff)
downloadmonzero-gui-f74ef30ace6b45f3c0c29191d17aa1cbe48a6f2e.tar.gz
monzero-gui-f74ef30ace6b45f3c0c29191d17aa1cbe48a6f2e.tar.xz
monzero-gui-f74ef30ace6b45f3c0c29191d17aa1cbe48a6f2e.zip
Fix ubuntu build
-rwxr-xr-xbuild.sh2
-rwxr-xr-xget_libwallet_api.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/build.sh b/build.sh
index f110fb02..bd32680c 100755
--- a/build.sh
+++ b/build.sh
@@ -30,7 +30,7 @@ fi
# Platform indepenent settings
platform=$(get_platform)
-if [ "$platform" == "linux" ]; then
+if [ "$platform" == "linux32" ] || [ "$platform" == "linux64" ]; then
distro=$(lsb_release -is)
if [ "$distro" == "Ubuntu" ]; then
CONFIG="$CONFIG libunwind_off"
diff --git a/get_libwallet_api.sh b/get_libwallet_api.sh
index 9c5ef3f7..717b1f3a 100755
--- a/get_libwallet_api.sh
+++ b/get_libwallet_api.sh
@@ -96,7 +96,7 @@ fi
# since filename conflict (random.c.obj)
# for Linux, we use libunbound shipped with the system, so we don't need to build it
-if [ "$platform" != "linux" ]; then
+if [ "$platform" != "linux32" ] && [ "$platform" != "linux64" ]; then
echo "Building libunbound..."
pushd $MONERO_DIR/build/release/external/unbound
# no need to make, it was already built as dependency for libwallet