From 1656bb809a331560d98ab9b56a7c69f0d12a6ff8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20M=C3=BCller?= Date: Mon, 10 Feb 2020 21:42:54 +0100 Subject: [PATCH] non: pass bindir/libdir explicitly without magic / fix warning MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit | WARNING: non-1.2.0+gitAUTOINC+d958df0486-r0 do_configure: Unable to execute waf --version, exit code 127. Assuming waf version without bindir/libdir support. Signed-off-by: Andreas Müller --- recipes-musicians/non/non.bb | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/recipes-musicians/non/non.bb b/recipes-musicians/non/non.bb index 6366966..b5cba60 100644 --- a/recipes-musicians/non/non.bb +++ b/recipes-musicians/non/non.bb @@ -27,8 +27,13 @@ NON_SIMD ?= "--disable-sse" EXTRA_OECONF = " \ ${NON_SIMD} \ + --bindir=${bindir} \ + --libdir=${libdir} \ " +python waf_preconfigure() { +} + do_configure_prepend() { sed -i 's:/usr/bin/env python:/usr/bin/env python3:' `grep -rl '/usr/bin/env python$' ${S}` }