Skip to content

Commit 1c8b793

Browse files
committed
fix makefile
1 parent f799173 commit 1c8b793

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -492,10 +492,10 @@ ifeq ($(os), visionOS)
492492
echo "Skipping arch-specific header copying for visionOS"
493493
else
494494
# Add the individual headers from each target in an arch-specific name
495-
$(foreach target,$(SDK_TARGETS-$(sdk)),cp $(PYTHON_INCLUDE-$(target))/pyconfig.h $(PYTHON_INCLUDE-$(sdk))/pyconfig-$(ARCH-$(target)).h;)
495+
$$(foreach target,$$(SDK_TARGETS-$(sdk)),cp $$(PYTHON_INCLUDE-$$(target))/pyconfig.h $$(PYTHON_INCLUDE-$(sdk))/pyconfig-$$(ARCH-$$(target)).h; )
496496

497497
# Copy the cross-target header from the source folder of the first target in the $(sdk) SDK
498-
cp $(PYTHON_SRCDIR-$(firstword $(SDK_TARGETS-$(sdk))))/$(os)/Resources/pyconfig.h $(PYTHON_INCLUDE-$(sdk))/pyconfig.h
498+
cp $$(PYTHON_SRCDIR-$$(firstword $$(SDK_TARGETS-$(sdk))))/$(os)/Resources/pyconfig.h $$(PYTHON_INCLUDE-$(sdk))/pyconfig.h
499499
endif
500500

501501

0 commit comments

Comments
 (0)