From 9b49a238f2206ff2d1e9b53083145bc144cfc5b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20M=C3=BCller?= Date: Thu, 1 Sep 2016 09:20:14 +0200 Subject: [PATCH] cmake_extra_sanity: add additional check on libdir MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Andreas Müller --- classes/cmake_extra_sanity.bbclass | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/classes/cmake_extra_sanity.bbclass b/classes/cmake_extra_sanity.bbclass index 6b019611..c5e8467e 100644 --- a/classes/cmake_extra_sanity.bbclass +++ b/classes/cmake_extra_sanity.bbclass @@ -56,6 +56,10 @@ do_sysroot_cmake_sanity() { bbwarn "$f contains links to ${libdir}!" error=true fi + if grep -q '\"${libdir}/lib' "$f" ; then + bbwarn "$f contains links to ${libdir}!" + error=true + fi if grep -q ';${includedir}' "$f" ; then bbwarn "$f contains links to ${includedir}!" error=true