|
|
@ -2,14 +2,10 @@ |
|
|
|
cd secp256k1; ./m_unix; cd .. |
|
|
|
cd ../crypto777; ./m_LP; cd ../iguana |
|
|
|
|
|
|
|
if [[ "$OSTYPE" == "linux-gnu" ]]; then |
|
|
|
echo "Linux" |
|
|
|
# Default is dynamic nanomsg for linux using this script |
|
|
|
nanomsg_lib="-lnanomsg" |
|
|
|
elif [[ "$OSTYPE" == "darwin"* ]]; then |
|
|
|
# Mac OSX |
|
|
|
echo "Mac OSX" |
|
|
|
# on osx this script generates static libnanomsg and uses it to compile static marketmaker binary |
|
|
|
nanomsg_lib="-lnanomsg" |
|
|
|
|
|
|
|
# Build static libnanomsg on macOS |
|
|
|
if [[ "$OSTYPE" == "darwin"* ]]; then |
|
|
|
./build_static_nanomsg.sh |
|
|
|
nanomsg_lib="../OSlibs/osx/$(uname -m)/libnanomsg-static.a" |
|
|
|
fi |
|
|
|