summaryrefslogtreecommitdiff
path: root/classes/package.bbclass
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <hrw@openembedded.org>2007-03-29 13:25:19 +0000
committerMarcin Juszkiewicz <hrw@openembedded.org>2007-03-29 13:25:19 +0000
commit5c164a27251aa8be7cbb8916a13919052387c3bd (patch)
tree84f7bbec2b5f435d895f7231c5f00ce409a2790c /classes/package.bbclass
parent136fd5b056088e2f71e2baf9b17a623575e856e8 (diff)
package.bbclass: fix build problem related to private libs
Diffstat (limited to 'classes/package.bbclass')
-rw-r--r--classes/package.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/package.bbclass b/classes/package.bbclass
index 19c206ae5e..3e80b2b31c 100644
--- a/classes/package.bbclass
+++ b/classes/package.bbclass
@@ -598,7 +598,7 @@ python package_do_shlibs() {
m = re.match("\s+SONAME\s+([^\s]*)", l)
if m and not m.group(1) in sonames:
# if library is private (only used by package) then do not build shlib for it
- if private_libs == '' or -1 == private_libs.find(m.group(1)):
+ if not private_libs or -1 == private_libs.find(m.group(1)):
sonames.append(m.group(1))
if m and libdir_re.match(root):
needs_ldconfig = True