summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/virglrenderer/virglrenderer/0001-meson.build-use-python3-directly-for-python.patch
blob: 0fd1d511d6bc43a5a08d297060c21f449a49952a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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')