mirror of
https://github.com/termux/termux-packages.git
synced 2025-11-01 05:38:52 +00:00
- 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
12 lines
387 B
Diff
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";
|