From 238d582b1741b885408f62bdeb94a6e2ecef0bd9 Mon Sep 17 00:00:00 2001 From: Ilya Kitaev Date: Fri, 27 May 2016 11:00:26 +0300 Subject: [PATCH] build against libwallet_merged and boost libs --- get_libwallet_api.sh | 2 +- monero-core.pro | 12 ++++++++++-- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/get_libwallet_api.sh b/get_libwallet_api.sh index 9e2f65ce..34c2e6b3 100755 --- a/get_libwallet_api.sh +++ b/get_libwallet_api.sh @@ -19,7 +19,7 @@ rm -fr $BITMONERO_DIR/build mkdir -p $BITMONERO_DIR/build/release pushd $BITMONERO_DIR/build/release -cmake -D CMAKE_BUILD_TYPE=Release -D CMAKE_INSTALL_PREFIX="$BITMONERO_DIR" ../.. +cmake -D CMAKE_BUILD_TYPE=Release -D STATIC=ON -D CMAKE_INSTALL_PREFIX="$BITMONERO_DIR" ../.. pushd $BITMONERO_DIR/build/release/src/wallet make -j$CPU_CORE_COUNT diff --git a/monero-core.pro b/monero-core.pro index 8574205f..4b071fb1 100644 --- a/monero-core.pro +++ b/monero-core.pro @@ -8,7 +8,6 @@ CONFIG += c++11 INCLUDEPATH += $$WALLET_ROOT/include -message($$INCLUDEPATH) HEADERS += \ filter.h \ @@ -32,7 +31,16 @@ SOURCES = *.qml \ wizard/*.qml } -LIBS += -L$$WALLET_ROOT/lib -lwallet +LIBS += -L$$WALLET_ROOT/lib \ + -lwallet_merged \ + -lboost_serialization \ + -lboost_thread \ + -lboost_system \ + -lboost_date_time \ + -lboost_filesystem \ + -lboost_regex + + # translations files; TRANSLATIONS = monero-core_en.ts \ # English (could be untranslated)