diff --git a/OS-X-Build.md b/OS-X-Build.md index 33d774d..fab72a4 100644 --- a/OS-X-Build.md +++ b/OS-X-Build.md @@ -1,7 +1,7 @@ ## OS X You need **Xcode** and **Homebrew** installed. ``` -brew install cmake libuv +brew install cmake libuv libmicrohttpd git clone https://github.com/xmrig/xmrig.git cd xmrig mkdir build @@ -14,4 +14,6 @@ make * `-DWITH_LIBCPUID=OFF` Disable libcpuid. Auto configuration of CPU after this will be very limited. * `-DWITH_AEON=OFF` Disable CryptoNight-Lite support. -* `-DUV_LIBRARY=/usr/local/opt/libuv/lib/libuv.a` Use static libuv version. \ No newline at end of file +* `-DWITH_HTTPD=OFF` Build without built in http server and API. +* `-DUV_LIBRARY=/usr/local/opt/libuv/lib/libuv.a` Use static libuv version. +* `-DMHD_LIBRARY=/usr/local/opt/libmicrohttpd/lib/libmicrohttpd.a` Use static libmicrohttpd version. \ No newline at end of file