From aa77c6d57079978eaf0cb9a90e09542d667ddaa1 Mon Sep 17 00:00:00 2001 From: Namkhai Bourquin Date: Wed, 27 Mar 2019 13:31:50 -0600 Subject: [PATCH] Added FreeBSD build instructions --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index 8f13540..4886f0d 100644 --- a/README.md +++ b/README.md @@ -53,6 +53,13 @@ $ meson --buildtype=release . build $ ninja -C build ``` +On FreeBSD, `ld` does not look by default in /usr/local/lib, and you will get errors about some libraries being not found. +To fix that, append `LDFLAGS="-L/usr/local/lib"`: +```bash +$ LDFLAGS="-L/usr/local/lib" meson --buildtype=release . build +$ ninja -C build +``` + Built binary can be found in `build/src` ### To install