changeset 1258:2d76a344c29e

python/python: fix build and manual pages
author David Demelier <markand@malikania.fr>
date Wed, 03 Nov 2021 06:42:05 +0100
parents eadb39b4fc90
children 883739c71a8c
files python/python/python.sh
diffstat 1 files changed, 2 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/python/python/python.sh	Wed Nov 03 06:41:42 2021 +0100
+++ b/python/python/python.sh	Wed Nov 03 06:42:05 2021 +0100
@@ -53,15 +53,14 @@
 		--build=$CBUILD \
 		--host=$CHOST \
 		--target=$CTARGET \
-		--prefix=/ \
+		--prefix=/. \
 		--enable-shared \
-		--enable-optimizations \
 		--with-system-expat \
 		--with-system-ffi \
 		--without-ensurepip \
 		$with_ipv6
 	make
-	make install DESTDIR=$DESTDIR
+	make DESTDIR=$DESTDIR install maninstall
 	ln -sf python3.10 $DESTDIR/bin/python
 	sed -i -e "s|prefix=/|prefix=|" $DESTDIR/lib/pkgconfig/*.pc