diff options
Diffstat (limited to 'meta/recipes-devtools/python/python3/0001-configure.ac-fix-LIBPL.patch')
-rw-r--r-- | meta/recipes-devtools/python/python3/0001-configure.ac-fix-LIBPL.patch | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/meta/recipes-devtools/python/python3/0001-configure.ac-fix-LIBPL.patch b/meta/recipes-devtools/python/python3/0001-configure.ac-fix-LIBPL.patch new file mode 100644 index 0000000000..123ce3a2dc --- /dev/null +++ b/meta/recipes-devtools/python/python3/0001-configure.ac-fix-LIBPL.patch | |||
@@ -0,0 +1,35 @@ | |||
1 | From acce3d441e7eadadd2d3ce38654155dc43f1f607 Mon Sep 17 00:00:00 2001 | ||
2 | From: Changqing Li <changqing.li@windriver.com> | ||
3 | Date: Fri, 7 Feb 2020 09:36:25 +0800 | ||
4 | Subject: [PATCH] configure.ac: fix LIBPL | ||
5 | |||
6 | Use LIBDIR rather than prefix/lib, so that it would work when lib64. | ||
7 | |||
8 | Upstream-Status: Inappropriate [oe-core specific] | ||
9 | |||
10 | Signed-off-by: Robert Yang <liezhi.yang@windriver.com> | ||
11 | Signed-off-by: Li Zhou <li.zhou@windriver.c> | ||
12 | Signed-off-by: Changqing Li <changqing.li@windriver.com> | ||
13 | --- | ||
14 | configure.ac | 4 ++-- | ||
15 | 1 file changed, 2 insertions(+), 2 deletions(-) | ||
16 | |||
17 | diff --git a/configure.ac b/configure.ac | ||
18 | index ce04258..915f475 100644 | ||
19 | --- a/configure.ac | ||
20 | +++ b/configure.ac | ||
21 | @@ -4532,9 +4532,9 @@ fi | ||
22 | dnl define LIBPL after ABIFLAGS and LDVERSION is defined. | ||
23 | AC_SUBST(PY_ENABLE_SHARED) | ||
24 | if test x$PLATFORM_TRIPLET = x; then | ||
25 | - LIBPL='$(prefix)'"/lib/python${VERSION}/config-${LDVERSION}" | ||
26 | + LIBPL='$(LIBDIR)'"/python${VERSION}/config-${LDVERSION}" | ||
27 | else | ||
28 | - LIBPL='$(prefix)'"/lib/python${VERSION}/config-${LDVERSION}-${PLATFORM_TRIPLET}" | ||
29 | + LIBPL='$(LIBDIR)'"/python${VERSION}/config-${LDVERSION}-${PLATFORM_TRIPLET}" | ||
30 | fi | ||
31 | AC_SUBST(LIBPL) | ||
32 | |||
33 | -- | ||
34 | 2.7.4 | ||
35 | |||