summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/markdown/Reference-tables.md1
-rw-r--r--mesonbuild/envconfig.py1
2 files changed, 2 insertions, 0 deletions
diff --git a/docs/markdown/Reference-tables.md b/docs/markdown/Reference-tables.md
index 965a3cad6..af6a9b9f0 100644
--- a/docs/markdown/Reference-tables.md
+++ b/docs/markdown/Reference-tables.md
@@ -374,6 +374,7 @@ machine](#Environment-variables-per-machine) section for details.
| Rust | RUSTC | RUSTC_LD | Before 0.54 RUST_LD* |
| Vala | VALAC | | Use CC_LD. Vala transpiles to C |
| C# | CSC | CSC | The linker is the compiler |
+| Cython | CYTHON | | |
| nasm | NASM | | Uses the C linker |
*The old environment variables are still supported, but are deprecated
diff --git a/mesonbuild/envconfig.py b/mesonbuild/envconfig.py
index a71773249..0e9cd23cc 100644
--- a/mesonbuild/envconfig.py
+++ b/mesonbuild/envconfig.py
@@ -88,6 +88,7 @@ ENV_VAR_COMPILER_MAP: T.Mapping[str, str] = {
'c': 'CC',
'cpp': 'CXX',
'cs': 'CSC',
+ 'cython': 'CYTHON',
'd': 'DC',
'fortran': 'FC',
'objc': 'OBJC',