From 31e728af107f8c63788500a616f31b537ac5085b Mon Sep 17 00:00:00 2001 From: Martin Mattel Date: Mon, 28 Oct 2024 11:33:19 +0100 Subject: [PATCH] [docs-only] Add libvips build dependencies for macOS --- services/thumbnails/README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/services/thumbnails/README.md b/services/thumbnails/README.md index 1897878d0d..684368183a 100644 --- a/services/thumbnails/README.md +++ b/services/thumbnails/README.md @@ -99,7 +99,13 @@ enabled at buildtime and has a couple of implications: * Therefore, the libvips shared libraries need to be available at runtime in the same release that was used to build the ocis binary. * When using the ocis docker images, the libvips shared libraries are included in the image and are correctly embedded. -Support of libvips is disabled by default. To enable it, make sure libvips and its buildtime dependencies are installed in your build environment. +Support of libvips is disabled by default. To enable it, make sure libvips and its buildtime dependencies are installed in your build environment. For macOS users, add the build time dependencies via: + +```shell +brew install vips pkg-config +export PKG_CONFIG_PATH="/usr/local/opt/libffi/lib/pkgconfig" +``` + Then you just need to set the `ENABLE_VIPS` variable on the `make` command: ```shell