diff options
| -rw-r--r-- | meta/recipes-devtools/python/python3/configure.ac-fix-LIBPL.patch | 30 | ||||
| -rw-r--r-- | meta/recipes-devtools/python/python3_3.5.0.bb | 1 |
2 files changed, 31 insertions, 0 deletions
diff --git a/meta/recipes-devtools/python/python3/configure.ac-fix-LIBPL.patch b/meta/recipes-devtools/python/python3/configure.ac-fix-LIBPL.patch new file mode 100644 index 0000000000..97214f9aa4 --- /dev/null +++ b/meta/recipes-devtools/python/python3/configure.ac-fix-LIBPL.patch | |||
| @@ -0,0 +1,30 @@ | |||
| 1 | From 7c4f8d87473d6238c120ec6031b58f83a17a39a5 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Robert Yang <liezhi.yang@windriver.com> | ||
| 3 | Date: Mon, 28 Dec 2015 22:52:06 -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: Pending | ||
| 9 | |||
| 10 | Signed-off-by: Robert Yang <liezhi.yang@windriver.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 63aef8e..aefb27f 100644 | ||
| 17 | --- a/configure.ac | ||
| 18 | +++ b/configure.ac | ||
| 19 | @@ -4366,7 +4366,7 @@ AC_MSG_RESULT($LDVERSION) | ||
| 20 | |||
| 21 | dnl define LIBPL after ABIFLAGS and LDVERSION is defined. | ||
| 22 | AC_SUBST(PY_ENABLE_SHARED) | ||
| 23 | -LIBPL='$(prefix)'"/lib/python${VERSION}/config-${LDVERSION}" | ||
| 24 | +LIBPL='$(LIBDIR)'"/python${VERSION}/config-${LDVERSION}" | ||
| 25 | AC_SUBST(LIBPL) | ||
| 26 | |||
| 27 | # Check whether right shifting a negative integer extends the sign bit | ||
| 28 | -- | ||
| 29 | 1.7.9.5 | ||
| 30 | |||
diff --git a/meta/recipes-devtools/python/python3_3.5.0.bb b/meta/recipes-devtools/python/python3_3.5.0.bb index a5663a1e25..d5e26ff764 100644 --- a/meta/recipes-devtools/python/python3_3.5.0.bb +++ b/meta/recipes-devtools/python/python3_3.5.0.bb | |||
| @@ -37,6 +37,7 @@ SRC_URI += "\ | |||
| 37 | file://setup.py-check-cross_compiling-when-get-FLAGS.patch \ | 37 | file://setup.py-check-cross_compiling-when-get-FLAGS.patch \ |
| 38 | file://setup.py-find-libraries-in-staging-dirs.patch \ | 38 | file://setup.py-find-libraries-in-staging-dirs.patch \ |
| 39 | file://use_packed_importlib.patch \ | 39 | file://use_packed_importlib.patch \ |
| 40 | file://configure.ac-fix-LIBPL.patch \ | ||
| 40 | " | 41 | " |
| 41 | SRC_URI[md5sum] = "d149d2812f10cbe04c042232e7964171" | 42 | SRC_URI[md5sum] = "d149d2812f10cbe04c042232e7964171" |
| 42 | SRC_URI[sha256sum] = "d6d7aa1634a5eeeca6ed4fca266982a04f84bd8f3945a9179e20b24ad2e2be91" | 43 | SRC_URI[sha256sum] = "d6d7aa1634a5eeeca6ed4fca266982a04f84bd8f3945a9179e20b24ad2e2be91" |
