Skip to content

Commit ba253df

Browse files
committed
Enable IPv6.
1 parent be4440d commit ba253df

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ update-patch:
8787
# Generate a diff from the clone of the python/cpython Github repository
8888
# Requireds patchutils (installable via `brew install patchutils`)
8989
if [ -z "$(PYTHON_REPO_DIR)" ]; then echo "\n\nPYTHON_REPO_DIR must be set to the root of your Python github checkout\n\n"; fi
90-
cd $(PYTHON_REPO_DIR) && git diff -D v$(PYTHON_VERSION) $(PYTHON_VER) | filterdiff -X $(PROJECT_DIR)/patch/Python/diff-exclude.lst -p 1 --clean > $(PROJECT_DIR)/patch/Python/Python.patch
90+
cd $(PYTHON_REPO_DIR) && git diff -D v$(PYTHON_VERSION)a2 $(PYTHON_VER) | filterdiff -X $(PROJECT_DIR)/patch/Python/diff-exclude.lst -p 1 --clean > $(PROJECT_DIR)/patch/Python/Python.patch
9191

9292
upload: $(foreach os,$(OS),$(os))
9393
python tools/upload.py b$(BUILD_NUMBER)
@@ -275,15 +275,15 @@ ifeq ($2,macOS)
275275
cat $$(PYTHON_DIR-$1)/Modules/Setup.embedded $(PROJECT_DIR)/patch/Python/Setup.macOS-x86_64 > $$(PYTHON_DIR-$1)/Modules/Setup.local
276276
cd $$(PYTHON_DIR-$1) && MACOSX_DEPLOYMENT_TARGET=$$(MACOSX_DEPLOYMENT_TARGET) ./configure \
277277
--prefix=$(PROJECT_DIR)/$$(PYTHON_DIR-$1)/dist \
278-
--without-doc-strings --without-ensurepip \
278+
--without-doc-strings --enable-ipv6 --without-ensurepip \
279279
$$(PYTHON_CONFIGURE-$2)
280280
else
281281
cd $$(PYTHON_DIR-$1) && PATH=$(PROJECT_DIR)/build/macOS/python/bin:$(PATH) ./configure \
282282
CC="$$(CC-$1)" LD="$$(CC-$1)" \
283283
--host=$$(MACHINE_DETAILED-$1)-apple-$(shell echo $2 | tr '[:upper:]' '[:lower:]') \
284284
--build=x86_64-apple-darwin$(shell uname -r) \
285285
--prefix=$(PROJECT_DIR)/$$(PYTHON_DIR-$1)/dist \
286-
--without-doc-strings --disable-ipv6 --without-ensurepip \
286+
--without-doc-strings --enable-ipv6 --without-ensurepip \
287287
ac_cv_file__dev_ptmx=no ac_cv_file__dev_ptc=no \
288288
$$(PYTHON_CONFIGURE-$2)
289289
endif

0 commit comments

Comments
 (0)