libvips / lua-vips

Lua binding for the libvips image processing library
MIT License
125 stars 10 forks source link

Fix CI on Apple Silicon #82

Closed kleisauke closed 3 months ago

kleisauke commented 3 months ago

The macos-latest image now uses macOS 14 on an M1 runner. https://github.blog/changelog/2024-04-01-macos-14-sonoma-is-generally-available-and-the-latest-macos-runner-image/

On M1 Macs, Homebrew installs into /opt/homebrew by default and no longer links into /usr/local. Therefore, we need to explicitly set DYLD_LIBRARY_PATH to /opt/homebrew/lib to ensure the dynamic linker can find libvips.