Description: Hardcode LLDB python module directory
 Debian package installs python modules into a fixed directory, so
 just hardcode path in wrapper script.
Author: Angus Lees <gus@debian.org>
Forwarded: not-needed

--- a/src/etc/rust-lldb
+++ b/src/etc/rust-lldb
@@ -10,7 +10,7 @@
 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
@@ -30,8 +30,8 @@
     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" "$@"
