diff options
| author | Vedang Manerikar <ved.manerikar@gmail.com> | 2026-01-02 16:31:51 +0530 |
|---|---|---|
| committer | Vedang Manerikar <ved.manerikar@gmail.com> | 2026-01-02 16:31:51 +0530 |
| commit | e4b7f1f37cf59ddf025d609ffcdabe732a6e99ba (patch) | |
| tree | 40e3f815567a3f438abc15eb5cabe92d72003942 /server/autobuild | |
| parent | 5245f092e35712df6559a7782a93bb61896175dd (diff) | |
fix(macos): add poppler and pcre2 to PKG_CONFIG_PATH for Homebrew builds
Some macOS users were experiencing build failures where pkg-config
could not find poppler, even with Homebrew's poppler package installed.
This occurs when Homebrew doesn't properly link the .pc files to the
standard pkg-config search path.
Fixes #299
Diffstat (limited to 'server/autobuild')
| -rwxr-xr-x | server/autobuild | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/autobuild b/server/autobuild index 6166c62..eb5d049 100755 --- a/server/autobuild +++ b/server/autobuild @@ -399,7 +399,7 @@ os_macos() { # explanation has to do with 'keg-only' installs). If you do, # please update: # https://github.com/vedang/pdf-tools/issues/270 - export PKG_CONFIG_PATH="${PKG_CONFIG_PATH}:$(brew --prefix libffi)/lib/pkgconfig/:$(brew --prefix zlib)/lib/pkgconfig/:$(brew --prefix glib)/lib/pkgconfig/" + export PKG_CONFIG_PATH="${PKG_CONFIG_PATH}:$(brew --prefix poppler)/lib/pkgconfig/:$(brew --prefix libffi)/lib/pkgconfig/:$(brew --prefix zlib)/lib/pkgconfig/:$(brew --prefix glib)/lib/pkgconfig/:$(brew --prefix pcre2)/lib/pkgconfig/" elif which port >/dev/null 2>&1; then PKGCMD=port PKGARGS=install |
