diff options
Diffstat (limited to 'meta/recipes-devtools/rpm/files/0001-Add-PYTHON_ABI-when-searching-for-python-libraries.patch')
-rw-r--r-- | meta/recipes-devtools/rpm/files/0001-Add-PYTHON_ABI-when-searching-for-python-libraries.patch | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/meta/recipes-devtools/rpm/files/0001-Add-PYTHON_ABI-when-searching-for-python-libraries.patch b/meta/recipes-devtools/rpm/files/0001-Add-PYTHON_ABI-when-searching-for-python-libraries.patch deleted file mode 100644 index b809332f21..0000000000 --- a/meta/recipes-devtools/rpm/files/0001-Add-PYTHON_ABI-when-searching-for-python-libraries.patch +++ /dev/null | |||
@@ -1,30 +0,0 @@ | |||
1 | From 36cf0ff26ece53e529e8b4f2d2f09acd8794b055 Mon Sep 17 00:00:00 2001 | ||
2 | From: Alexander Kanavin <alex.kanavin@gmail.com> | ||
3 | Date: Fri, 24 Mar 2017 15:35:47 +0200 | ||
4 | Subject: [PATCH] Add PYTHON_ABI when searching for python libraries. | ||
5 | |||
6 | It has a value of 'm' when using Python3, and so without it | ||
7 | configure will not find the libraries. | ||
8 | |||
9 | Upstream-Status: Inappropriate [oe-core specific] | ||
10 | Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> | ||
11 | --- | ||
12 | configure.ac | 2 +- | ||
13 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
14 | |||
15 | diff --git a/configure.ac b/configure.ac | ||
16 | index 9c58467c1..a506ec819 100644 | ||
17 | --- a/configure.ac | ||
18 | +++ b/configure.ac | ||
19 | @@ -642,7 +642,7 @@ AS_IF([test "$enable_python" = yes],[ | ||
20 | ]) | ||
21 | CPPFLAGS="$save_CPPFLAGS" | ||
22 | save_LIBS="$LIBS" | ||
23 | - AC_SEARCH_LIBS([Py_Main],[python${PYTHON_VERSION} python],[ | ||
24 | + AC_SEARCH_LIBS([Py_Main],[python${PYTHON_VERSION}${PYTHON_ABI} python],[ | ||
25 | WITH_PYTHON_LIB="$ac_res" | ||
26 | ],[AC_MSG_ERROR([missing python library]) | ||
27 | ]) | ||
28 | -- | ||
29 | 2.11.0 | ||
30 | |||