summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpolitza <politza@fh-trier.de>2019-09-18 19:15:52 +0200
committerGitHub <noreply@github.com>2019-09-18 19:15:52 +0200
commitc851df842e05f353e4d249f2653f98418b3345d6 (patch)
treec73dfe318ce16fd5632ab894dc60683b7fa93539
parentdb7de3901ae0e55f6ab8cf9baec257f706c3d16e (diff)
parent90cfab0623146c0e1d2c8ffdca1de4c105dc00d6 (diff)
Merge pull request #490 from seanfarley/brew-libffi
autobuild: fix finding libffi; fixes #480
-rwxr-xr-xserver/autobuild3
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