Skip to content

Commit c641c98

Browse files
committed
Python3.11 requires new settings for cross-compile
1 parent 1eed741 commit c641c98

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎python3-android/build.sh‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ autoreconf -ifv
2727
which python
2828
python -m pip install dataclasses
2929
./Android/build_deps.py $COMMON_ARGS
30-
./Android/configure.py $COMMON_ARGS --prefix=/usr --disable-test-modules "$@"
30+
./Android/configure.py $COMMON_ARGS --prefix=/usr --disable-test-modules --with-build-python="$THIS_DIR/build" "$@"
3131
make
3232
make install DESTDIR="$THIS_DIR/build"
3333
popd

‎python3-linux/build.sh‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ pushd $SRCDIR
2727

2828
# Build deps
2929
./Linux/build_deps.py
30-
./Linux/configure.py --prefix=/usr --disable-test-modules "$@"
30+
./Linux/configure.py --prefix=/usr --disable-test-modules --with-build-python="$THIS_DIR/build" "$@"
3131

3232
# Make Python from source
3333
make

0 commit comments

Comments
 (0)