diff options
Diffstat (limited to 'meta/recipes-devtools/createrepo-c/createrepo-c/0001-Do-not-set-PYTHON_INSTALL_DIR-by-running-python.patch')
-rw-r--r-- | meta/recipes-devtools/createrepo-c/createrepo-c/0001-Do-not-set-PYTHON_INSTALL_DIR-by-running-python.patch | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/recipes-devtools/createrepo-c/createrepo-c/0001-Do-not-set-PYTHON_INSTALL_DIR-by-running-python.patch b/meta/recipes-devtools/createrepo-c/createrepo-c/0001-Do-not-set-PYTHON_INSTALL_DIR-by-running-python.patch index d675af4f8b..4b844574ea 100644 --- a/meta/recipes-devtools/createrepo-c/createrepo-c/0001-Do-not-set-PYTHON_INSTALL_DIR-by-running-python.patch +++ b/meta/recipes-devtools/createrepo-c/createrepo-c/0001-Do-not-set-PYTHON_INSTALL_DIR-by-running-python.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 218a4760945be7a404df6515ffbc769c92791f9b Mon Sep 17 00:00:00 2001 | 1 | From 6f8f6d151b831b60f6e7892aa9294a6361353c72 Mon Sep 17 00:00:00 2001 |
2 | From: Alexander Kanavin <alex.kanavin@gmail.com> | 2 | From: Alexander Kanavin <alex.kanavin@gmail.com> |
3 | Date: Fri, 30 Dec 2016 18:31:02 +0200 | 3 | Date: Fri, 30 Dec 2016 18:31:02 +0200 |
4 | Subject: [PATCH] Do not set PYTHON_INSTALL_DIR by running python | 4 | Subject: [PATCH] Do not set PYTHON_INSTALL_DIR by running python |
@@ -11,11 +11,11 @@ Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> | |||
11 | 1 file changed, 1 insertion(+), 1 deletion(-) | 11 | 1 file changed, 1 insertion(+), 1 deletion(-) |
12 | 12 | ||
13 | diff --git a/src/python/CMakeLists.txt b/src/python/CMakeLists.txt | 13 | diff --git a/src/python/CMakeLists.txt b/src/python/CMakeLists.txt |
14 | index 855127f..dff1d97 100644 | 14 | index ecc262d..a86514c 100644 |
15 | --- a/src/python/CMakeLists.txt | 15 | --- a/src/python/CMakeLists.txt |
16 | +++ b/src/python/CMakeLists.txt | 16 | +++ b/src/python/CMakeLists.txt |
17 | @@ -14,7 +14,7 @@ if (NOT SKBUILD) | 17 | @@ -14,7 +14,7 @@ if (NOT SKBUILD) |
18 | FIND_PACKAGE(PythonInterp 3 EXACT REQUIRED) | 18 | FIND_PACKAGE(PythonLibs 3 REQUIRED) |
19 | endif (NOT SKBUILD) | 19 | endif (NOT SKBUILD) |
20 | 20 | ||
21 | -EXECUTE_PROCESS(COMMAND ${PYTHON_EXECUTABLE} -c "from sys import stdout; from distutils import sysconfig; stdout.write(sysconfig.get_python_lib(True))" OUTPUT_VARIABLE PYTHON_INSTALL_DIR) | 21 | -EXECUTE_PROCESS(COMMAND ${PYTHON_EXECUTABLE} -c "from sys import stdout; from distutils import sysconfig; stdout.write(sysconfig.get_python_lib(True))" OUTPUT_VARIABLE PYTHON_INSTALL_DIR) |