You've already forked linux-packaging-mono
More python/python3 problems
This commit is contained in:
23
use_python3_not_unversioned.patch
Normal file
23
use_python3_not_unversioned.patch
Normal file
@@ -0,0 +1,23 @@
|
||||
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
|
Reference in New Issue
Block a user