diff options
| author | Sean Farley <sean@farley.io> | 2019-04-18 07:47:54 -0700 |
|---|---|---|
| committer | Sean Farley <sean@farley.io> | 2019-04-18 07:47:54 -0700 |
| commit | 90cfab0623146c0e1d2c8ffdca1de4c105dc00d6 (patch) | |
| tree | fb7288cec29f8e1f57b8454636d6c5226416063e /server/autobuild | |
| parent | d780b82a5ea5eb64140a3a68fa278f877771a1fc (diff) | |
autobuild: fix finding libffi; fixes #480
Since Homebrew install libffi as keg-only (meaning it's not linked into
/usr/local) we need to manually set the path (which has a convenient
command from brew).
Diffstat (limited to 'server/autobuild')
| -rwxr-xr-x | server/autobuild | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/server/autobuild b/server/autobuild index 9cdde28..aa6b54c 100755 --- a/server/autobuild +++ b/server/autobuild @@ -369,6 +369,9 @@ os_macos() { PKGARGS=install PACKAGES="pkg-config poppler automake" PKG_INSTALL_AS_ROOT= + # homebrew install libffi as keg-only, meaning we need to set + # PKG_CONFIG_PATH manually so configure can find it + export PKG_CONFIG_PATH="$(brew --prefix libffi)/lib/pkgconfig/" elif which port >/dev/null 2>&1; then PKGCMD=port PKGARGS=install |
