Updated the macOS bundle definition to stop requiring a single hard-coded Enchant provider file (libenchant_applespell.so) and instead include any available Enchant provider modules under versioned/non-versioned provider directories (lib/enchant*/libenchant_*.so). This fixes bundling when Homebrew installs providers in paths like enchant-2 or when applespell isn’t present.

This commit is contained in:
2026-02-18 14:21:02 -07:00
parent d3ae9d9d5d
commit 858f9daf64

View File

@@ -28,7 +28,7 @@
${prefix:enchant}/lib/libenchant*.dylib ${prefix:enchant}/lib/libenchant*.dylib
</binary> </binary>
<binary> <binary>
${prefix:enchant}/lib/enchant/libenchant_applespell.so ${prefix:enchant}/lib/enchant*/libenchant_*.so
</binary> </binary>
<!-- GTK3 runtime modules: ${prefix}/lib/${gtkdir} --> <!-- GTK3 runtime modules: ${prefix}/lib/${gtkdir} -->