diff options
-rw-r--r-- | meta-oe/recipes-devtools/python/python-pygobject_3.18.2.bb | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/meta-oe/recipes-devtools/python/python-pygobject_3.18.2.bb b/meta-oe/recipes-devtools/python/python-pygobject_3.18.2.bb index 1c78e262a8..73fd043c98 100644 --- a/meta-oe/recipes-devtools/python/python-pygobject_3.18.2.bb +++ b/meta-oe/recipes-devtools/python/python-pygobject_3.18.2.bb | |||
@@ -5,6 +5,9 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=a916467b91076e631dd8edb7424769c7" | |||
5 | 5 | ||
6 | inherit autotools pkgconfig gnomebase distutils-base gobject-introspection | 6 | inherit autotools pkgconfig gnomebase distutils-base gobject-introspection |
7 | 7 | ||
8 | PYTHON_BASEVERSION = "2.7" | ||
9 | PYTHON_PN = "python" | ||
10 | |||
8 | DEPENDS += "python glib-2.0" | 11 | DEPENDS += "python glib-2.0" |
9 | 12 | ||
10 | SRCNAME="pygobject" | 13 | SRCNAME="pygobject" |
@@ -20,7 +23,7 @@ S = "${WORKDIR}/${SRCNAME}-${PV}" | |||
20 | 23 | ||
21 | BBCLASSEXTEND = "native" | 24 | BBCLASSEXTEND = "native" |
22 | 25 | ||
23 | EXTRA_OECONF = "--disable-cairo --with-python=python2.7" | 26 | EXTRA_OECONF = "--disable-cairo --with-python=${PYTHON}" |
24 | 27 | ||
25 | RDEPENDS_${PN} += "python-setuptools python-importlib" | 28 | RDEPENDS_${PN} += "python-setuptools python-importlib" |
26 | 29 | ||