Skip to content

Commit

Permalink
Merge pull request #10426 from owncloud/add_vips_mac_compile
Browse files Browse the repository at this point in the history
[docs-only] Add libvips build dependencies for macOS
  • Loading branch information
mmattel authored Oct 28, 2024
2 parents 64d7aba + 31e728a commit d701e79
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion services/thumbnails/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d701e79

Please sign in to comment.