summaryrefslogtreecommitdiff
path: root/mesonbuild/envconfig.py
diff options
context:
space:
mode:
authorErik BrĂ¥then Solem <erikbsolem@hotmail.com>2023-12-27 18:18:56 +0100
committerEli Schwartz <eschwartz93@gmail.com>2024-01-01 01:50:37 -0500
commit0e1cba6d8b8a3594664451534338fda5e2ae7d75 (patch)
tree8681fe438083db0c74f7ed15879568f1dc9f5e70 /mesonbuild/envconfig.py
parent65e4fb391faa8b3c979c4389e6ead241364e15d2 (diff)
downloadmeson-0e1cba6d8b8a3594664451534338fda5e2ae7d75.tar.gz
envconfig: read CYTHON from the environment and use it if set
Add support for specifying Cython compiler using the CYTHON environment variable. If not set, proceed with the names hard coded for Cython.
Diffstat (limited to 'mesonbuild/envconfig.py')
-rw-r--r--mesonbuild/envconfig.py1
1 files changed, 1 insertions, 0 deletions
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',