Skip to content

Commit

Permalink
Remove ldns from optional dependencies, add note about macOS cross-co…
Browse files Browse the repository at this point in the history
…mpile
  • Loading branch information
who-biz committed Jun 23, 2020
1 parent 6b64964 commit a457426
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,14 +72,14 @@ Ubuntu/Debian:

Required: `sudo apt-get install -y build-essential cmake pkg-config libboost-all-dev libssl-dev libsodium-dev libunwind-dev binutils-dev rapidjson-dev`

Optional: `sudo apt-get install -y liblzma-dev libldns-dev libexpat1-dev libgtest-dev libreadline-dev`
Optional: `sudo apt-get install -y liblzma-dev libexpat1-dev libgtest-dev libreadline-dev`


**Arch Linux:**

Required: `sudo pacman -S base-devel cmake boost openssl libsodium libunwind binutils-devel rapidjson-devel`

Optional: `sudo pacman -S xz ldns expat gtest readline`
Optional: `sudo pacman -S xz expat gtest readline`



Expand All @@ -90,6 +90,7 @@ To compile for Linux (distro-agnostic): `make release-cross-linux-x86_64`
To compile for Windows(mingw64): `make release-cross-winx64`

To compile for Mac(x86_64): `make release-cross-mac-x86_64`
*Please note: the mac cross-compilation does not function properly. Additional steps may be required. As a result, our binaries are compiled for macOS on a macOS host.*

The `Makefile` entries run by the above commands will build dependencies for `x86_64-gnu-linux` and `x86_64-w64-mingw32` hosts, respectively. If you would like to compile for a different type of host platform, `cd` into the `contrib/depends` directory, and build with `make HOST=xxx-yyy-zzz` where xxx-yyy-zzz is a <a href="https://wiki.osdev.org/Target_Triplet">standard host triplet</a>.

Expand Down

0 comments on commit a457426

Please sign in to comment.