Forwarded: not-needed
Debian package installs python modules into a fixed directory, so
just hardcode path in wrapper script.
Gbp-Pq: Name d-rust-lldb-paths
RUSTC_SYSROOT=$(rustc --print sysroot)
RUST_LLDB="$RUSTC_SYSROOT/lib/rustlib/$host/bin/lldb"
-lldb=lldb
+lldb=lldb-11
if [ -f "$RUST_LLDB" ]; then
lldb="$RUST_LLDB"
else
fi
fi
-script_import="command script import \"$RUSTC_SYSROOT/lib/rustlib/etc/lldb_lookup.py\""
-commands_file="$RUSTC_SYSROOT/lib/rustlib/etc/lldb_commands"
+script_import="command script import \"/usr/share/rust-lldb/lldb_lookup.py\""
+commands_file="/usr/share/rust-lldb/lldb_commands"
# Call LLDB with the commands added to the argument list
exec "$lldb" --one-line-before-file "$script_import" --source-before-file "$commands_file" "$@"