Skip to content

Commit c0cc333

Browse files
committed
Updated patch with version that passes CPython CI.
1 parent 6d6abb0 commit c0cc333

File tree

6 files changed

+2254
-432
lines changed

6 files changed

+2254
-432
lines changed

Makefile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -429,8 +429,9 @@ $$(PYTHON_INCLUDE-$(sdk))/pyconfig.h: $$(PYTHON_LIB-$(sdk))
429429
# Add the individual headers from each target in an arch-specific name
430430
$$(foreach target,$$(SDK_TARGETS-$(sdk)),cp $$(PYTHON_INCLUDE-$$(target))/pyconfig.h $$(PYTHON_INCLUDE-$(sdk))/pyconfig-$$(ARCH-$$(target)).h; )
431431

432-
# Copy the cross-target header from the patch folder
433-
cp $(PROJECT_DIR)/patch/Python/pyconfig-$(os).h $$(PYTHON_INCLUDE-$(sdk))/pyconfig.h
432+
# Copy the cross-target header from the source folder of the first target in the $(sdk) SDK
433+
cp $$(PYTHON_SRCDIR-$$(firstword $$(SDK_TARGETS-$(sdk))))/$(os)/Resources/pyconfig.h $$(PYTHON_INCLUDE-$(sdk))/pyconfig.h
434+
434435

435436
$$(PYTHON_STDLIB-$(sdk))/LICENSE.TXT: $$(PYTHON_LIB-$(sdk)) $$(PYTHON_FRAMEWORK-$(sdk))/Info.plist $$(PYTHON_INCLUDE-$(sdk))/pyconfig.h
436437
@echo ">>> Build Python stdlib for the $(sdk) SDK"

0 commit comments

Comments
 (0)