Added FreeBSD build instructions

This commit is contained in:
Namkhai Bourquin 2019-03-27 13:31:50 -06:00 committed by Yuxuan Shui
parent 49e85f6161
commit aa77c6d570
No known key found for this signature in database
GPG Key ID: 37C999F617EA1A47
1 changed files with 7 additions and 0 deletions

View File

@ -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