jimeh / build-emacs-for-macos

Somewhat hacky script to automate building of Emac.app on macOS.
484 stars 50 forks source link

fix(svg): fix SVG rendering crash and enable SVG support by default #40

Closed jimeh closed 3 years ago

jimeh commented 3 years ago

This resolves #12, which it turns out was caused by the aggressive shared library embedding and re-linking. Simply removing it fixes the issue, without causing any issues I've been able to find. Despite the build now linking to more dynamic libraries provided by macOS than it was before.

I will be looking into if it's possible to get more of those libs embedded, but it looks like it involves re-installing various homebrew packages from source, so they link against dependencies already installed via Homebrew, rather than those available in macOS itself. But for now, this change seems perfectly good and stable based on my testing.