Skip to content

Commit bc21f92

Browse files
committed
Enable python ipv6
1 parent 745d8d2 commit bc21f92

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

build-hnp/python/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ all: download/Python-3.13.5.tar.xz
1212
cd temp/Python-3.13.5/build-native && CC="cc" CXX="" LD="ld" AR="ar" CXXFLAGS="" CFLAGS="" LDFLAGS="" make -j $(shell nproc)
1313
cd temp/Python-3.13.5/build-native && CC="cc" CXX="" LD="ld" AR="ar" CXXFLAGS="" CFLAGS="" LDFLAGS="" make install DESTDIR=$(shell pwd)/temp/native
1414
# HACK: set ANDROID_API_LEVEL=1 to link the shared libraries with libpython
15-
cd temp/Python-3.13.5/build && ../configure ANDROID_API_LEVEL=1 --enable-shared --host aarch64-unknown-linux-musl --build=aarch64 --disable-ipv6 --with-ensurepip=install --with-build-python=$(shell pwd)/temp/native/usr/local/bin/python3 ac_cv_file__dev_ptmx=no ac_cv_file__dev_ptc=no
15+
cd temp/Python-3.13.5/build && ../configure ANDROID_API_LEVEL=1 --enable-shared --host aarch64-unknown-linux-musl --build=aarch64 --enable-ipv6 --with-ensurepip=install --with-build-python=$(shell pwd)/temp/native/usr/local/bin/python3 ac_cv_file__dev_ptmx=no ac_cv_file__dev_ptc=no
1616
# missing gettext in libintl.h
1717
cd temp/Python-3.13.5/build && sed -i.bak "s/#define HAVE_LIBINTL_H 1//" pyconfig.h
1818
cd temp/Python-3.13.5/build && make -j $(shell nproc)

0 commit comments

Comments
 (0)