fixed multicore build; statically link boost, libcrypto and libssl for

Linux;
This commit is contained in:
Ilya Kitaev 2016-07-13 10:30:12 +03:00
parent 5b1ab69d70
commit c027922cb7
2 changed files with 8 additions and 4 deletions

View file

@ -2,9 +2,9 @@
BITMONERO_URL=https://github.com/mbg033/bitmonero.git
BITMONERO_BRANCH=fee-mul
BITMONERO_BRANCH=devel
# thanks to SO: http://stackoverflow.com/a/20283965/4118915
CPU_CORE_COUNTS=$(grep -c ^processor /proc/cpuinfo 2>/dev/null || sysctl -n hw.ncpu)
CPU_CORE_COUNT=$(grep -c ^processor /proc/cpuinfo 2>/dev/null || sysctl -n hw.ncpu)
pushd $(pwd)
ROOT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"

View file

@ -67,6 +67,7 @@ win32 {
unix {
LIBS+= \
-Wl,-Bstatic \
-lboost_serialization \
-lboost_thread \
-lboost_system \
@ -74,8 +75,11 @@ unix {
-lboost_filesystem \
-lboost_regex \
-lboost_chrono \
-lboost_program_options
-lboost_program_options \
-lssl \
-lcrypto \
-Wl,-Bdynamic \
-ldl
}