[3/3] auto-package-libs class: Setting package-qa-flag is-library
diff mbox

Message ID a66d9f96bd7bc73c0adeff0dd3c0a8b8debb0189.1389010031.git.kibo@prevas.dk
State Accepted
Delegated to: Esben Haabendal
Headers show

Commit Message

Kim B√łndergaard Jan. 6, 2014, 12:08 p.m. UTC
---
 classes/auto-package-libs.oeclass | 4 ++++
 1 file changed, 4 insertions(+)

Patch
diff mbox

diff --git a/classes/auto-package-libs.oeclass b/classes/auto-package-libs.oeclass
index cd626d7..74fd155 100644
--- a/classes/auto-package-libs.oeclass
+++ b/classes/auto-package-libs.oeclass
@@ -141,6 +141,10 @@  def auto_package_libs (d):
                                     lib.replace("_", "-").lower()))
         d.set("PROVIDES_" + pkg, " ".join(pkg_provides))
 
+        qaflags = (d.get_flag("PROVIDES_" + pkg,"qa") or "").split()
+        qaflags.append("is-library")
+        d.set_flag("PROVIDES_" + pkg, "qa", " ".join(qaflags))
+
         devpkg_provides = (d.get("PROVIDES_" + devpkg) or "").split()
         devpkg_provides.append("%s%s-dev"%(provideprefix,
                                            lib.replace("_", "-").lower()))