mirror of
https://git.wownero.com/wownero/wownero-puddle.git
synced 2024-08-15 01:03:20 +00:00
fix Linux build dependencies
This commit is contained in:
parent
55da98cee9
commit
9bd6606ae7
2 changed files with 6 additions and 7 deletions
5
Makefile
5
Makefile
|
@ -17,7 +17,6 @@ MONERO_LIBS = \
|
|||
${MONERO_BUILD_ROOT}/src/ringct/libringct_basic.a \
|
||||
${MONERO_BUILD_ROOT}/src/device/libdevice.a \
|
||||
${MONERO_BUILD_ROOT}/src/blockchain_db/libblockchain_db.a \
|
||||
${MONERO_BUILD_ROOT}/external/unbound/libunbound.a \
|
||||
${MONERO_BUILD_ROOT}/contrib/epee/src/libepee.a \
|
||||
${MONERO_BUILD_ROOT}/external/easylogging++/libeasylogging.a
|
||||
|
||||
|
@ -59,7 +58,7 @@ LIBS := lmdb pthread microhttpd
|
|||
ifeq ($(OS), Darwin)
|
||||
LIBS += c++ boost_system-mt boost_date_time-mt boost_chrono-mt boost_filesystem-mt boost_thread-mt
|
||||
else
|
||||
LIBS += boost_system boost_date_time boost_chrono boost_filesystem boost_thread uuid
|
||||
LIBS += dl boost_system boost_date_time boost_chrono boost_filesystem boost_thread uuid
|
||||
endif
|
||||
|
||||
PKG_LIBS := $(shell pkg-config \
|
||||
|
@ -67,6 +66,7 @@ PKG_LIBS := $(shell pkg-config \
|
|||
json-c \
|
||||
openssl \
|
||||
libsodium \
|
||||
libunbound \
|
||||
--libs)
|
||||
|
||||
STATIC_LIBS =
|
||||
|
@ -79,6 +79,7 @@ PKG_INC := $(shell pkg-config \
|
|||
json-c \
|
||||
openssl \
|
||||
libsodium \
|
||||
libunbound \
|
||||
--cflags)
|
||||
|
||||
LIBPATH := /opt/local/lib/ /usr/local/lib
|
||||
|
|
|
@ -43,13 +43,12 @@ export MONERO_BUILD_ROOT=$MONERO_ROOT/build/<system>/<branch>/<release|debug>
|
|||
|
||||
Replacing the values appropriately.
|
||||
|
||||
Beyond the Monero dependencies, the following libraries are also required to
|
||||
build the pool:
|
||||
Beyond the Monero dependencies, the following extra libraries are also required
|
||||
to build the pool:
|
||||
|
||||
- liblmdb
|
||||
- libevent
|
||||
- json-c
|
||||
- openssl
|
||||
- libmicrohttpd
|
||||
- uuid
|
||||
|
||||
|
@ -57,8 +56,7 @@ As an example, on Ubuntu, these dependencies can be installed with the following
|
|||
command:
|
||||
|
||||
```
|
||||
sudo apt-get install libjson-c-dev uuid-dev libevent-dev libmicrohttpd-dev \
|
||||
liblmdb-dev openssl
|
||||
sudo apt-get install liblmdb-dev libevent-dev libjson-c-dev libmicrohttpd-dev uuid-dev
|
||||
```
|
||||
### Compile
|
||||
|
||||
|
|
Loading…
Reference in a new issue