blob: 123ce3a2dca19910b1450efe95bf731645067268 [file] [log] [blame]
Andrew Geissler82c905d2020-04-13 13:39:40 -05001From acce3d441e7eadadd2d3ce38654155dc43f1f607 Mon Sep 17 00:00:00 2001
2From: Changqing Li <changqing.li@windriver.com>
3Date: Fri, 7 Feb 2020 09:36:25 +0800
4Subject: [PATCH] configure.ac: fix LIBPL
5
6Use LIBDIR rather than prefix/lib, so that it would work when lib64.
7
8Upstream-Status: Inappropriate [oe-core specific]
9
10Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
11Signed-off-by: Li Zhou <li.zhou@windriver.c>
12Signed-off-by: Changqing Li <changqing.li@windriver.com>
13---
14 configure.ac | 4 ++--
15 1 file changed, 2 insertions(+), 2 deletions(-)
16
17diff --git a/configure.ac b/configure.ac
18index 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--
342.7.4
35