linux-packaging-mono/use_python3_not_unversioned.patch
Jo Shields b1822c5a6c More python/python3 problems
(cherry picked from commit ce804b46fcf875176f84cd110f6293268f5fb732)
2019-02-20 16:04:54 -05:00

24 lines
827 B
Diff

diff --git a/mono/mini/Makefile.am.in b/mono/mini/Makefile.am.in
index 65399906806..4538c5ba428 100755
--- a/mono/mini/Makefile.am.in
+++ b/mono/mini/Makefile.am.in
@@ -775,7 +775,7 @@ MemoryIntrinsics.dll: MemoryIntrinsics.il
GENMDESC_OPTS=
-GENMDESC_PRG=python $(srcdir)/genmdesc.py $(target_define) $(srcdir)
+GENMDESC_PRG=python3 $(srcdir)/genmdesc.py $(target_define) $(srcdir)
cpu-wasm.h: mini-ops.h cpu-wasm.md
$(GENMDESC_PRG) cpu-wasm.h wasm_desc $(srcdir)/cpu-wasm.md
diff --git a/scripts/mono-heapviz b/scripts/mono-heapviz
index 27b6f7f6023..c4a4847bbe6 100755
--- a/scripts/mono-heapviz
+++ b/scripts/mono-heapviz
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
# Generate a heap visualization for SGen from the heap dump written by
# mono if the MONO_GC_DEBUG is set to something like