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)