Fix ubuntu build

This commit is contained in:
Jaquee 2016-12-15 18:01:06 +01:00
parent 143da2c390
commit f74ef30ace
No known key found for this signature in database
GPG key ID: 384E52B09F45DC39
2 changed files with 2 additions and 2 deletions

View file

@ -30,7 +30,7 @@ fi
# Platform indepenent settings # Platform indepenent settings
platform=$(get_platform) platform=$(get_platform)
if [ "$platform" == "linux" ]; then if [ "$platform" == "linux32" ] || [ "$platform" == "linux64" ]; then
distro=$(lsb_release -is) distro=$(lsb_release -is)
if [ "$distro" == "Ubuntu" ]; then if [ "$distro" == "Ubuntu" ]; then
CONFIG="$CONFIG libunwind_off" CONFIG="$CONFIG libunwind_off"

View file

@ -96,7 +96,7 @@ fi
# since filename conflict (random.c.obj) # since filename conflict (random.c.obj)
# for Linux, we use libunbound shipped with the system, so we don't need to build it # 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..." echo "Building libunbound..."
pushd $MONERO_DIR/build/release/external/unbound pushd $MONERO_DIR/build/release/external/unbound
# no need to make, it was already built as dependency for libwallet # no need to make, it was already built as dependency for libwallet