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

Linux;
pull/2/head
Ilya Kitaev 8 years ago
parent 5b1ab69d70
commit c027922cb7

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

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