summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbuild-gdb.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/build-gdb.sh b/build-gdb.sh
index 5c406f66c..79286b845 100755
--- a/build-gdb.sh
+++ b/build-gdb.sh
@@ -277,7 +277,7 @@ install_host_gdb ()
cat > "$GDB_PATH" << EOF
#!/bin/bash
GDBDIR=\$(dirname \$(readlink -f \$0))
-PYTHONHOME="\$GDBDIR/../../../$(python_ndk_install_dir $1)" "\$GDBDIR/gdb-orig" "\$@"
+PYTHONHOME="\$GDBDIR/.." "\$GDBDIR/gdb-orig" "\$@"
EOF
chmod 755 $GDB_PATH
;;