mirror of
git://git.yoctoproject.org/poky
synced 2026-10-02 18:18:12 +00:00
Switch over to meson build system, add a patch to avoid target python3 dependency. (From OE-Core rev: b8fa017de9b9e5f1057a14b9b13ac0401b94969e) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
28 lines
836 B
Diff
28 lines
836 B
Diff
From 63788c63ed39a3ce9994f4315d8997e1a9300d4d Mon Sep 17 00:00:00 2001
|
|
From: Alexander Kanavin <alex.kanavin@gmail.com>
|
|
Date: Mon, 6 Jan 2020 12:44:42 +0100
|
|
Subject: [PATCH] meson.build: use 'python3' directly for python
|
|
|
|
This avoids a dependency on target python (due to meson probing
|
|
its configuration).
|
|
|
|
Upstream-Status: Inappropriate [oe-core specific]
|
|
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
|
|
---
|
|
meson.build | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/meson.build b/meson.build
|
|
index 682d7c8..19d2eae 100644
|
|
--- a/meson.build
|
|
+++ b/meson.build
|
|
@@ -60,7 +60,7 @@ foreach w : warnings
|
|
endif
|
|
endforeach
|
|
|
|
-prog_python = import('python').find_installation('python3')
|
|
+prog_python = 'python3'
|
|
|
|
libdrm_dep = dependency('libdrm', version : '>=2.4.50')
|
|
thread_dep = dependency('threads')
|