From: Khem Raj Date: Wed, 6 Oct 2010 04:01:38 +0000 (-0700) Subject: insane.bbclass: If LIBTOOL_HAS_SYSROOT is set then do not check for la insanity X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b24e7cca01b5c10083a10b29c377810bff79cd03;p=openembedded.git insane.bbclass: If LIBTOOL_HAS_SYSROOT is set then do not check for la insanity Signed-off-by: Khem Raj Acked-by: Martin Jansa Acked-by: Frans Meulenbroeks Acked-by: Koen Kooi --- diff --git a/classes/insane.bbclass b/classes/insane.bbclass index 9087efd141..677db27eea 100644 --- a/classes/insane.bbclass +++ b/classes/insane.bbclass @@ -342,7 +342,7 @@ def package_qa_check_staged(path,d): if file.endswith(".la"): file_content = open(path).read() # Don't check installed status for native/cross packages - if not iscrossnative: + if not iscrossnative and bb.data.getVar('LIBTOOL_HAS_SYSROOT', d, True) is "no": if installed in file_content: error_msg = "%s failed sanity test (installed) in path %s" % (file,root) sane = package_qa_handle_error(5, error_msg, "staging", path, d)