Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(native_comp): rename native-lisp folder paths to appease Apple's …
…codesign Apple's codesign CLI tool will throw an error when signing application bundles, if any folder within the app's Contents/MacOS folder contains two dots. The recent relocation of the native-lisp folder from Contents/Resources/native-lisp to Contents/MacOS/lib/emacs/28.0.50/native-lisp is causing code signing to fail. The workaround here simply replaces dots (.) with hyphens (-), causing the following folder renames: Contents/MacOS/lib/emacs/28.0.50/native-lisp/28.0.50-852ecda2 --> Contents/MacOS/lib/emacs/28.0.50/native-lisp/28-0-50-852ecda2 Contents/MacOS/lib/emacs/28.0.50 --> Contents/MacOS/lib/emacs/28-0-50 To ensure Emacs can still find the bundled native-lisp files, we use a symlink: Contents/native-lisp -> MacOS/lib/emacs/28-0-50/native-lisp This type of fix is not ideal, but its the only way I know of getting around this issue right now. And we're already doing a similar thing for the embedded gcc libraries.
- Loading branch information