Commit 56ec30e
committed
fix: remove DYLD_LIBRARY_PATH from launcher to fix SIGBUS on macOS
DYLD_LIBRARY_PATH overrides the system OpenGL framework globally,
poisoning NSOpenGLContext used by SDL2's Cocoa backend. This caused
a SIGBUS in +[NSOpenGLContext currentContext] during window creation.
Libraries now resolve via @executable_path entries in Mach-O load
commands and @rpath from the engine binary's LC_RPATH, which are
scoped to the engine's own load chain and don't affect the system
frameworks.1 parent cd8c0bb commit 56ec30e
1 file changed
Lines changed: 5 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
388 | 388 | | |
389 | 389 | | |
390 | 390 | | |
391 | | - | |
392 | | - | |
393 | | - | |
| 391 | + | |
| 392 | + | |
| 393 | + | |
| 394 | + | |
| 395 | + | |
394 | 396 | | |
395 | 397 | | |
396 | 398 | | |
| |||
0 commit comments