[gnome-continuous-yocto/gnomeostree-3.28-rocko: 1084/8267] gdb-cross: do not hardcode the use of Python 2



commit 83b11dcd55f907d845c8efa45a2616b8890f3004
Author: Alexander Kanavin <alexander kanavin linux intel com>
Date:   Wed Jun 22 15:06:34 2016 +0300

    gdb-cross: do not hardcode the use of Python 2
    
    This was overlooked in the move to Python 3
    
    (From OE-Core rev: 2ec8db434c6da54333cbdc54763bb5561b6e4d10)
    
    Signed-off-by: Alexander Kanavin <alexander kanavin linux intel com>
    Signed-off-by: Ross Burton <ross burton intel com>
    Signed-off-by: Richard Purdie <richard purdie linuxfoundation org>

 meta/recipes-devtools/gdb/gdb-cross.inc |    2 +-
 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 7579205..5fa7c33 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() {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]