mirror of
https://github.com/kvazar-network/keva-stratum.git
synced 2025-01-26 23:04:42 +00:00
Fix build with monero v0.11.0.0
This commit is contained in:
parent
0a51384b1d
commit
95270d488c
@ -20,7 +20,7 @@ Dependencies:
|
||||
|
||||
* go >= 1.6
|
||||
* Everything required to build Monero
|
||||
* Monero >= **v0.10.3**
|
||||
* Monero >= **v0.11.0.0**
|
||||
|
||||
### Linux
|
||||
|
||||
@ -31,7 +31,7 @@ Compile Monero source (with shared libraries option):
|
||||
apt-get install git cmake build-essential libssl-dev pkg-config libboost-all-dev
|
||||
git clone https://github.com/monero-project/monero.git
|
||||
cd monero
|
||||
git checkout tags/v0.10.3.1 -b v0.10.3.1
|
||||
git checkout tags/v0.11.0.0 -b v0.11.0.0
|
||||
cmake -DBUILD_SHARED_LIBS=1 .
|
||||
make
|
||||
|
||||
|
@ -16,6 +16,7 @@ link_directories(
|
||||
${MONERO_DIR}/src/crypto
|
||||
${MONERO_DIR}/src/common
|
||||
${MONERO_DIR}/src/ringct
|
||||
${MONERO_DIR}/src/blockchain_db
|
||||
)
|
||||
|
||||
# Build library
|
||||
@ -24,9 +25,10 @@ add_library(${CXXLIB} SHARED src/cnutil.cpp)
|
||||
target_link_libraries(${CXXLIB}
|
||||
cryptonote_core
|
||||
cryptonote_basic
|
||||
crypto
|
||||
cncrypto
|
||||
common
|
||||
ringct
|
||||
blockchain_db
|
||||
)
|
||||
|
||||
target_link_libraries(${CXXLIB}
|
||||
|
@ -9,4 +9,4 @@ link_directories(${MONERO_DIR}/src/crypto)
|
||||
|
||||
add_library(${LIB} SHARED src/hashing.c)
|
||||
|
||||
target_link_libraries(${LIB} crypto)
|
||||
target_link_libraries(${LIB} cncrypto)
|
||||
|
Loading…
x
Reference in New Issue
Block a user