summaryrefslogtreecommitdiff
path: root/server/autobuild
diff options
context:
space:
mode:
authorVedang Manerikar <ved.manerikar@gmail.com>2022-04-26 12:47:14 -0400
committerVedang Manerikar <ved.manerikar@gmail.com>2022-04-26 12:52:38 -0400
commit48cf7b89ae752eb57f28d09fc14386e733cbb2f7 (patch)
tree62cea7f39034f6fd1acb6eb3886c57835cd87024 /server/autobuild
parentffba5f7208a2cf36df80fac9a17731f514f40060 (diff)
Add to PKG_CONFIG_PATH, instead of replacing it.
This is a better solution as it takes into account paths that have already been set up by users. Potentially fixes: #70
Diffstat (limited to 'server/autobuild')
-rwxr-xr-xserver/autobuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/autobuild b/server/autobuild
index c738f59..f0b18f3 100755
--- a/server/autobuild
+++ b/server/autobuild
@@ -366,9 +366,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
+ # brew installs 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/"
+ export PKG_CONFIG_PATH="${PKG_CONFIG_PATH}:$(brew --prefix libffi)/lib/pkgconfig/"
elif which port >/dev/null 2>&1; then
PKGCMD=port
PKGARGS=install