0
0
mirror of https://github.com/termux/termux-packages.git synced 2025-11-01 05:38:52 +00:00
Files
termux-packages/x11-packages/codelldb/main.rs.patch
Robert Kirkman 753f8b84b8 bump(x11/codelldb): 1.11.6
- Fixes https://github.com/termux/termux-packages/issues/26799

There is a new executable file, "`codelldb-launch`".

I don't really understand exactly what it does yet, but codelldb was printing an error "unable to find codelldb-launch!" until I moved it out of the `.vsix` file and hardcoded the paths to it at `$TERMUX_PREFIX/bin`, just like I did for the `codelldb` executable, which still exists.

After doing that, this bump is working on my device.

I have also updated the comments about 32-bit exclusion to be accurate to the current situation.
See here for more information about the problems with `codelldb` on 32-bit Android:
https://github.com/termux/termux-packages/pull/25779#issuecomment-3213373449
2025-10-14 11:28:38 -05:00

12 lines
387 B
Diff

--- a/src/codelldb/bin/main.rs
+++ b/src/codelldb/bin/main.rs
@@ -15,7 +15,7 @@ fn main() -> Result<(), Error> {
#[cfg(windows)]
const DYLIB_SUBDIR: &str = "bin";
- #[cfg(target_os = "linux")]
+ #[cfg(any(target_os = "linux", target_os = "android"))]
const DYLIB_EXTENSION: &str = "so";
#[cfg(target_os = "macos")]
const DYLIB_EXTENSION: &str = "dylib";