swig: add native wrapper for SWIGLIB
authorKang Kai <kai.kang@windriver.com>
Wed, 9 Apr 2014 07:34:57 +0000 (15:34 +0800)
committerPatrick Ohly <patrick.ohly@intel.com>
Fri, 9 Jan 2015 16:37:02 +0000 (08:37 -0800)
commita6bb61d26f1c0713fef54686bacbde5628385234
tree546eb9b9601167ea96b3e7915913d17af1f5e2b2
parentdd76ae013a9afca2fd3ef69760204bbc1f70eb02
swig: add native wrapper for SWIGLIB

Native swig will read data from hard-coded SWIGLIB or the same
environment variable.

While using sstate, the hard-coded SWIGLIB will point to the project
that create original sstates. This would cause build issues, so add
a wrapper to set the environment variable SWIGLIB to a relative path
on current sysroot.

(From meta-openembedded rev: 9a91c137a53db160637cf7278c36b5750a4fd965)

Signed-off-by: Xin Ouyang <Xin.Ouyang@windriver.com>
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
meta-openembedded/meta-oe/recipes-devtools/swig/swig.inc