From 90cfab0623146c0e1d2c8ffdca1de4c105dc00d6 Mon Sep 17 00:00:00 2001 From: Sean Farley Date: Thu, 18 Apr 2019 07:47:54 -0700 Subject: 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). --- server/autobuild | 3 +++ 1 file changed, 3 insertions(+) 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 -- cgit v1.0