mirror of
https://github.com/monero-project/monero-gui.git
synced 2024-12-23 20:20:02 +00:00
build: build, install and link against randomx library
This commit is contained in:
parent
d3b81cb6f8
commit
ae2fdc7ab3
2 changed files with 17 additions and 19 deletions
|
@ -253,4 +253,7 @@ if [ -d $MONERO_DIR/build/$BUILD_TYPE/external/unbound ]; then
|
||||||
popd
|
popd
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# install randomx
|
||||||
|
eval make -C $MONERO_DIR/build/$BUILD_TYPE/external/randomx all install
|
||||||
|
|
||||||
popd
|
popd
|
||||||
|
|
|
@ -142,25 +142,25 @@ ios:arm64 {
|
||||||
LIBS += \
|
LIBS += \
|
||||||
-L$$PWD/../ofxiOSBoost/build/libs/boost/lib/arm64 \
|
-L$$PWD/../ofxiOSBoost/build/libs/boost/lib/arm64 \
|
||||||
}
|
}
|
||||||
!ios:!android {
|
|
||||||
LIBS += -L$$WALLET_ROOT/lib \
|
LIBS_COMMON = \
|
||||||
-lwallet_merged \
|
-lwallet_merged \
|
||||||
-llmdb \
|
-llmdb \
|
||||||
-lepee \
|
-lepee \
|
||||||
-lunbound \
|
-lunbound \
|
||||||
-lsodium \
|
-lsodium \
|
||||||
-leasylogging
|
-leasylogging \
|
||||||
|
-lrandomx
|
||||||
|
|
||||||
|
!ios:!android {
|
||||||
|
LIBS += -L$$WALLET_ROOT/lib \
|
||||||
|
$$LIBS_COMMON
|
||||||
}
|
}
|
||||||
|
|
||||||
android {
|
android {
|
||||||
message("Host is Android")
|
message("Host is Android")
|
||||||
LIBS += -L$$WALLET_ROOT/lib \
|
LIBS += -L$$WALLET_ROOT/lib \
|
||||||
-lwallet_merged \
|
$$LIBS_COMMON
|
||||||
-llmdb \
|
|
||||||
-lepee \
|
|
||||||
-lunbound \
|
|
||||||
-lsodium \
|
|
||||||
-leasylogging
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -175,12 +175,7 @@ ios {
|
||||||
QMAKE_IOS_DEVICE_ARCHS = arm64
|
QMAKE_IOS_DEVICE_ARCHS = arm64
|
||||||
CONFIG += arm64
|
CONFIG += arm64
|
||||||
LIBS += -L$$WALLET_ROOT/lib-ios \
|
LIBS += -L$$WALLET_ROOT/lib-ios \
|
||||||
-lwallet_merged \
|
$$LIBS_COMMON
|
||||||
-llmdb \
|
|
||||||
-lepee \
|
|
||||||
-lunbound \
|
|
||||||
-lsodium \
|
|
||||||
-leasylogging
|
|
||||||
|
|
||||||
LIBS+= \
|
LIBS+= \
|
||||||
-L$$PWD/../OpenSSL-for-iPhone/lib \
|
-L$$PWD/../OpenSSL-for-iPhone/lib \
|
||||||
|
|
Loading…
Reference in a new issue