Files
termux-packages/x11-packages/codelldb
termux-pacman-bot 90c4159226 fix(x11/codelldb): If the first attempt to load liblldb.so fails, fall back to $TERMUX_PREFIX/lib/liblldb.so because it isn't always the first choice
- This is a fix for a minor edge case bug, `liblldb.so` failing to load when a debugging session is launched from a VSCode-based editor, that **for some reason, only the `code-server` package, not the `code-oss` package, can trigger**, so the bug this solves is only reproducible while using `code-server`, not `code-oss`. The exact difference in behavior between `code-oss` and `code-server` that causes this is not known, but I have implemented the solution in a way that should **only solve errors**, without introducing any additonal problems or incompatibilties with other editors.

- If I were to change it so that the **only** possible selection of `liblldb.so` is `$TERMUX_PREFIX/lib/liblldb.so`, while that would reduce the complexity of `codelldb`'s loading logic, it would unfortunately prevent users from manually configuring a custom path to `liblldb.so` in the GUI settings if they have to, even if the `liblldb.so` in that custom location works fine. That is why I am now setting `$TERMUX_PREFIX/lib/liblldb.so` in multiple places.

- Add patch to `adapter/codelldb/src/lib.rs` in `disable-sbapi.patch` that removes some code that was previously intended for removal from Termux's build, but was missed before accidentally.
2025-08-27 11:04:55 +00:00
..