From f6535354e4bd09780692e1fcf97395337c5c15aa Mon Sep 17 00:00:00 2001 From: Jaquee Date: Mon, 27 Mar 2017 21:42:01 +0200 Subject: [PATCH 1/2] linux 32 build config test --- monero-wallet-gui.pro | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/monero-wallet-gui.pro b/monero-wallet-gui.pro index 2ece7444..cf7d6e50 100644 --- a/monero-wallet-gui.pro +++ b/monero-wallet-gui.pro @@ -217,9 +217,9 @@ linux { message("using static libraries") LIBS+= -Wl,-Bstatic QMAKE_LFLAGS += -static-libgcc -static-libstdc++ - contains(QT_ARCH, x86_64) { + # contains(QT_ARCH, x86_64) { LIBS+= -lunbound - } + # } } else { # On some distro's we need to add dynload LIBS+= -ldl From b4f01b9f6a217fa475cab058d022cf5bf41e6d6c Mon Sep 17 00:00:00 2001 From: Jaquee Date: Tue, 28 Mar 2017 17:37:06 +0200 Subject: [PATCH 2/2] linux32: use vendored libunbound --- get_libwallet_api.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/get_libwallet_api.sh b/get_libwallet_api.sh index bd4b7e6c..d36b99a6 100755 --- a/get_libwallet_api.sh +++ b/get_libwallet_api.sh @@ -154,7 +154,7 @@ elif [ "$platform" == "linux64" ]; then elif [ "$platform" == "linux32" ]; then echo "Configuring build for Linux i686" if [ "$STATIC" == true ]; then - cmake -D CMAKE_BUILD_TYPE=$CMAKE_BUILD_TYPE -D STATIC=ON -D ARCH="i686" -D BUILD_64=OFF -D BUILD_GUI_DEPS=ON -D CMAKE_INSTALL_PREFIX="$MONERO_DIR" ../.. + cmake -D CMAKE_BUILD_TYPE=$CMAKE_BUILD_TYPE -D STATIC=ON -D ARCH="i686" -D BUILD_64=OFF -D BUILD_GUI_DEPS=ON -D INSTALL_VENDORED_LIBUNBOUND=ON -D CMAKE_INSTALL_PREFIX="$MONERO_DIR" ../.. else cmake -D CMAKE_BUILD_TYPE=$CMAKE_BUILD_TYPE -D BUILD_GUI_DEPS=ON -D CMAKE_INSTALL_PREFIX="$MONERO_DIR" ../.. fi