Browse Source

Merge pull request #597 from lukechilds/fix-mm-build

Fix mm build
patch-3
jl777 7 years ago
committed by GitHub
parent
commit
86bf0a0e76
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 13
      iguana/m_mm

13
iguana/m_mm

@ -1,14 +1,11 @@
#!/bin/bash
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

Loading…
Cancel
Save