summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorstijn <stijn@ignitron.net>2021-01-16 09:01:17 +0100
committerDamien George <damien@micropython.org>2021-02-02 21:33:18 +1100
commit81a4d96aed7221ea497bb90f135b3fd14ab22c0c (patch)
tree9394e59b14ed34af20343805f550a31bb6860916
parent03974485016654de09e42737ea875bc601d5ec56 (diff)
windows/msvc: Use same default python command as core.
-rw-r--r--ports/windows/msvc/genhdr.targets1
1 files changed, 1 insertions, 0 deletions
diff --git a/ports/windows/msvc/genhdr.targets b/ports/windows/msvc/genhdr.targets
index 3af0ea263..9ea6ed28c 100644
--- a/ports/windows/msvc/genhdr.targets
+++ b/ports/windows/msvc/genhdr.targets
@@ -14,6 +14,7 @@
<PyQstrDefs>$(PySrcDir)qstrdefs.h</PyQstrDefs>
<QstrDefsCollected>$(DestDir)qstrdefscollected.h</QstrDefsCollected>
<QstrGen>$(DestDir)qstrdefs.generated.h</QstrGen>
+ <PyPython Condition="'$(PyPython)' == ''">$(MICROPY_CPYTHON3)</PyPython>
<PyPython Condition="'$(PyPython)' == ''">python</PyPython>
<CLToolExe Condition="'$(CLToolExe)' == ''">cl.exe</CLToolExe>
<PyClTool>$([System.IO.Path]::Combine(`$(CLToolPath)`, `$(CLToolExe)`))</PyClTool>