Updated the macOS bundle definition to default the enchant prefix to Homebrew’s enchant formula path (/usr/local/opt/enchant) instead of the older enchant-applespell path, aligning the bundle config with current installs.

Changed the bundled enchant dylib entry from a fixed filename to a wildcard (libenchant*.dylib) so gtk-mac-bundler can resolve versioned Homebrew library names (for example libenchant-2.2.dylib
This commit is contained in:
2026-02-18 14:10:31 -07:00
parent a68a49f394
commit d3ae9d9d5d

View File

@@ -6,7 +6,7 @@
Homebrew: /opt/homebrew (Apple Silicon) or /usr/local (Intel)
MacPorts: /opt/local -->
<prefix name="default">/usr/local</prefix>
<prefix name="enchant">/usr/local/opt/enchant-applespell</prefix>
<prefix name="enchant">/usr/local/opt/enchant</prefix>
<destination overwrite="yes">${project}</destination>
<run-install-name-tool>yes</run-install-name-tool>
@@ -25,7 +25,7 @@
</binary>
<binary>
${prefix:enchant}/lib/libenchant.dylib
${prefix:enchant}/lib/libenchant*.dylib
</binary>
<binary>
${prefix:enchant}/lib/enchant/libenchant_applespell.so