Skip to content

Commit 892fc36

Browse files
committed
Fix: add missing define required to build _tracemod.c/_debugmod.c
1 parent 44f3ca6 commit 892fc36

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mx.graalpython/suite.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -697,7 +697,7 @@
697697
"windows": {
698698
"<others>": {
699699
"cflags": [
700-
"-DHPY_ABI_HYBRID", "-DNDEBUG", "-DMS_WINDOWS",
700+
"-DHPY_ABI_HYBRID", "-DHPY_EMBEDDED_MODULES", "-DNDEBUG", "-DMS_WINDOWS",
701701
# cflags equivalent to -g -O3 -Wall (/WX would be -Werror)
702702
"-D_CRT_SECURE_NO_WARNINGS", "/Z7", "/O2", "/W3",
703703
"-I\"<path:com.oracle.graal.python.cext>/include\"",
@@ -712,7 +712,7 @@
712712
"<others>": {
713713
"<others>": {
714714
"cflags": [
715-
"-DHPY_ABI_HYBRID", "-DNDEBUG",
715+
"-DHPY_ABI_HYBRID", "-DHPY_EMBEDDED_MODULES", "-DNDEBUG",
716716
"-O3", "-Werror", "-fPIC",
717717
"-I\"<path:com.oracle.graal.python.cext>/include\"",
718718
"-I\"<path:com.oracle.graal.python.cext>/include/internal\"",

0 commit comments

Comments
 (0)