| |
@@ -1,12 +1,16 @@
|
| |
- diff -up Python-3.5.0/Makefile.pre.in.lib Python-3.5.0/Makefile.pre.in
|
| |
- --- Python-3.5.0/Makefile.pre.in.lib 2015-09-21 15:39:47.928286620 +0200
|
| |
- +++ Python-3.5.0/Makefile.pre.in 2015-09-21 15:42:58.004042762 +0200
|
| |
- @@ -1340,7 +1340,7 @@ inclinstall:
|
| |
-
|
| |
- # Install the library and miscellaneous stuff needed for extending/embedding
|
| |
- # This goes into $(exec_prefix)
|
| |
- -LIBPL= @LIBPL@
|
| |
- +LIBPL= $(LIBDEST)/config-$(LDVERSION)-$(MULTIARCH)
|
| |
-
|
| |
- # pkgconfig directory
|
| |
- LIBPC= $(LIBDIR)/pkgconfig
|
| |
+ diff --git a/configure.ac b/configure.ac
|
| |
+ index 01c66fe..1e6d515 100644
|
| |
+ --- a/configure.ac
|
| |
+ +++ b/configure.ac
|
| |
+ @@ -4772,9 +4772,9 @@ AC_MSG_RESULT($LDVERSION)
|
| |
+ dnl define LIBPL after ABIFLAGS and LDVERSION is defined.
|
| |
+ AC_SUBST(PY_ENABLE_SHARED)
|
| |
+ if test x$PLATFORM_TRIPLET = x; then
|
| |
+ - LIBPL='$(prefix)'"/lib/python${VERSION}/config-${LDVERSION}"
|
| |
+ + LIBPL='$(prefix)'"/lib64/python${VERSION}/config-${LDVERSION}"
|
| |
+ else
|
| |
+ - LIBPL='$(prefix)'"/lib/python${VERSION}/config-${LDVERSION}-${PLATFORM_TRIPLET}"
|
| |
+ + LIBPL='$(prefix)'"/lib64/python${VERSION}/config-${LDVERSION}-${PLATFORM_TRIPLET}"
|
| |
+ fi
|
| |
+ AC_SUBST(LIBPL)
|
| |
+
|
| |
00205-make-libpl-respect-lib64.patch only modified LIBPL in
Makefile.pre.in which leads to an inconsistency in
python3-config --configdir which uses the unmodified LIBPL (use
/usr/lib instead of /usr/lib64).
Rewrite the patch to update LIBPL in configure.ac instead, as it is
done in Python 3.8 patch.
Resolves: rhbz#1772988