diff options
author | Xin Ouyang <Xin.Ouyang@windriver.com> | 2013-04-08 13:35:29 +0800 |
---|---|---|
committer | Xin Ouyang <Xin.Ouyang@windriver.com> | 2013-04-08 15:13:47 +0800 |
commit | d69bc8bdb2f4cd7f08b029e5991fabfb08c6e166 (patch) | |
tree | 511d5ca02de278a0405484acad4947c944c019b0 | |
parent | 9dede1532b1c0a9d34761ba79952550e001166ff (diff) | |
download | meta-selinux-d69bc8bdb2f4cd7f08b029e5991fabfb08c6e166.tar.gz |
swig: denzil branch should use virtclass-native OVERRIDES
oe-core denzil branch still uses virtclass-native OVERRIDES, not
class-native, so fix this.
Signed-off-by: Xin Ouyang <Xin.Ouyang@windriver.com>
-rw-r--r-- | recipes-devtools/swig/swig.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes-devtools/swig/swig.inc b/recipes-devtools/swig/swig.inc index 833c767..a780b2d 100644 --- a/recipes-devtools/swig/swig.inc +++ b/recipes-devtools/swig/swig.inc | |||
@@ -26,6 +26,6 @@ def swiglib_relpath(d): | |||
26 | swiglib = d.getVar('datadir', True) + "/" + d.getVar('BPN', True) + "/" + d.getVar('PV', True) | 26 | swiglib = d.getVar('datadir', True) + "/" + d.getVar('BPN', True) + "/" + d.getVar('PV', True) |
27 | return os.path.relpath(swiglib, d.getVar('bindir', True)) | 27 | return os.path.relpath(swiglib, d.getVar('bindir', True)) |
28 | 28 | ||
29 | do_install_append_class-native() { | 29 | do_install_append_virtclass-native() { |
30 | create_wrapper ${D}${bindir}/swig SWIG_LIB='`dirname $''realpath`'/${@swiglib_relpath(d)} | 30 | create_wrapper ${D}${bindir}/swig SWIG_LIB='`dirname $''realpath`'/${@swiglib_relpath(d)} |
31 | } | 31 | } |