From: Michael Lauer Date: Sat, 4 Oct 2008 06:32:15 +0000 (+0000) Subject: distutils-base: export STAGING_INCDIR and STAGING_LIBDIR here X-Git-Tag: Release-2010-05/1~5850^2~22^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6c50f70f22e1195898ead5ff2b47256b2ba429e2;p=openembedded.git distutils-base: export STAGING_INCDIR and STAGING_LIBDIR here --- diff --git a/classes/distutils-base.bbclass b/classes/distutils-base.bbclass index c4551ace83..70155619b3 100644 --- a/classes/distutils-base.bbclass +++ b/classes/distutils-base.bbclass @@ -2,6 +2,9 @@ EXTRA_OEMAKE = "" DEPENDS += "${@["python-native python", ""][(bb.data.getVar('PACKAGES', d, 1) == '')]}" RDEPENDS += "python-core" +export STAGING_INCDIR +export STAGING_LIBDIR + def python_dir(d): import os, bb staging_incdir = bb.data.getVar( "STAGING_INCDIR", d, 1 )