diff options
Diffstat (limited to 'recipes')
-rw-r--r-- | recipes/gnome/gnome-python-extras_2.25.3.bb | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/recipes/gnome/gnome-python-extras_2.25.3.bb b/recipes/gnome/gnome-python-extras_2.25.3.bb index 9d8e786241..cf3d84e9af 100644 --- a/recipes/gnome/gnome-python-extras_2.25.3.bb +++ b/recipes/gnome/gnome-python-extras_2.25.3.bb @@ -5,12 +5,17 @@ inherit gnome distutils-base SRC_URI += "file://acinclude.m4" +EXTRA_OECONF = "--with-python-includes=${STAGING_INCDIR}/../" + do_configure_prepend() { install -m 0644 ${WORKDIR}/acinclude.m4 ${S}/ } do_configure_prepend() { - sed -i -e s:'`$PKG_CONFIG --variable=defsdir pygtk-2.0`':\"${STAGING_DATADIR}/pygtk/2.0/defs\":g ${S}/configure.ac + sed -i -e s:'`$PKG_CONFIG --variable=defsdir pygtk-2.0`':\"${STAGING_DATADIR}/pygtk/2.0/defs\":g \ + -e s:'`$PKG_CONFIG --variable=defsdir gnome-python-2.0`':\"${STAGING_DATADIR}/pygtk/2.0/defs\":g \ + -e s:'`$PKG_CONFIG --variable=argtypesdir gnome-python-2.0`':\"${STAGING_DATADIR}/pygtk/2.0/argtypes/\":g \ + ${S}/configure.ac } AUTOTOOLS_STAGE_PKGCONFIG = "1" |