summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/gdb/gdb-cross.inc
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/gdb/gdb-cross.inc')
-rw-r--r--meta/recipes-devtools/gdb/gdb-cross.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-devtools/gdb/gdb-cross.inc b/meta/recipes-devtools/gdb/gdb-cross.inc
index 7579205dcf..5fa7c3367d 100644
--- a/meta/recipes-devtools/gdb/gdb-cross.inc
+++ b/meta/recipes-devtools/gdb/gdb-cross.inc
@@ -6,7 +6,7 @@ inherit python3native
# Overrides PACKAGECONFIG variables in gdb-common.inc
PACKAGECONFIG ??= "python readline"
-PACKAGECONFIG[python] = "--with-python=${STAGING_BINDIR_NATIVE}/python-native/python,--without-python,python3-native"
+PACKAGECONFIG[python] = "--with-python=${PYTHON},--without-python,python3-native"
PACKAGECONFIG[readline] = "--with-system-readline,--without-system-readline,readline-native"
do_compile_prepend() {