summaryrefslogtreecommitdiff
path: root/meta/classes/package.bbclass
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2016-09-12 01:32:08 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-09-14 22:20:03 +0100
commit33b0d940b09a5ce1462476614213a58d3d62e80d (patch)
tree98663d98a1829003a6a9a48fccfe0243647bbd99 /meta/classes/package.bbclass
parent79fe476be233015c1c90e9c3fb4572267b5551d1 (diff)
downloadopenembedded-core-33b0d940b09a5ce1462476614213a58d3d62e80d.tar.gz
openembedded-core-33b0d940b09a5ce1462476614213a58d3d62e80d.tar.bz2
openembedded-core-33b0d940b09a5ce1462476614213a58d3d62e80d.zip
meta: cleanup d.getVar(var, 0)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/classes/package.bbclass')
-rw-r--r--meta/classes/package.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/package.bbclass b/meta/classes/package.bbclass
index d0b2db6ae8..a9ca14164b 100644
--- a/meta/classes/package.bbclass
+++ b/meta/classes/package.bbclass
@@ -1490,7 +1490,7 @@ python package_do_shlibs() {
import re, pipes
import subprocess as sub
- exclude_shlibs = d.getVar('EXCLUDE_FROM_SHLIBS', 0)
+ exclude_shlibs = d.getVar('EXCLUDE_FROM_SHLIBS', False)
if exclude_shlibs:
bb.note("not generating shlibs")
return