diff options
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-cmake/run-cmake-from-path.patch')
-rw-r--r-- | meta-python/recipes-devtools/python/python3-cmake/run-cmake-from-path.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-cmake/run-cmake-from-path.patch b/meta-python/recipes-devtools/python/python3-cmake/run-cmake-from-path.patch new file mode 100644 index 0000000000..5c38fadce0 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-cmake/run-cmake-from-path.patch | |||
@@ -0,0 +1,11 @@ | |||
1 | --- cmake-3.25.2/src/cmake/__init__.py.old 2023-03-10 09:40:43.582315753 +0100 | ||
2 | +++ cmake-3.25.2/src/cmake/__init__.py 2023-03-10 09:41:38.030874047 +0100 | ||
3 | @@ -36,7 +36,7 @@ | ||
4 | |||
5 | |||
6 | def _program(name, args): | ||
7 | - return subprocess.call([os.path.join(CMAKE_BIN_DIR, name)] + args, close_fds=False) | ||
8 | + return subprocess.call([name] + args, close_fds=False) | ||
9 | |||
10 | |||
11 | def cmake(): | ||