Fix build with monero v0.11.0.0

This commit is contained in:
Sammy Libre 2017-09-09 11:50:43 +05:00
parent 0a51384b1d
commit 95270d488c
3 changed files with 6 additions and 4 deletions

View File

@ -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

View File

@ -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}

View File

@ -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)