summaryrefslogtreecommitdiff
path: root/mesonbuild/templates/mesontemplates.py
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2025-01-06 12:18:38 -0800
committerDylan Baker <dylan@pnwbakers.com>2025-01-08 09:54:47 -0800
commit68939da3bd33096f1f01e67ecd2f8ff1ee84a4d9 (patch)
tree4c109e6e07804c577821efd0fbb39d6c6cb79fb2 /mesonbuild/templates/mesontemplates.py
parent5c209e196683289319535ada713759b6f4244ef6 (diff)
downloadmeson-68939da3bd33096f1f01e67ecd2f8ff1ee84a4d9.tar.gz
templates: remove 'c' from vala projects
Meson has added 'c' automatically to vala projects since 0.59, since the minimum version is now 1.0 this isn't needed
Diffstat (limited to 'mesonbuild/templates/mesontemplates.py')
-rw-r--r--mesonbuild/templates/mesontemplates.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/mesonbuild/templates/mesontemplates.py b/mesonbuild/templates/mesontemplates.py
index e0f6ca3fb..5c6a116fe 100644
--- a/mesonbuild/templates/mesontemplates.py
+++ b/mesonbuild/templates/mesontemplates.py
@@ -52,9 +52,8 @@ def create_meson_build(options: Arguments) -> None:
for x in options.deps.split(','))
depspec += '],'
if options.language != 'java':
- language = f"'{options.language}'" if options.language != 'vala' else ['c', 'vala']
content = meson_executable_template.format(project_name=options.name,
- language=language,
+ language=options.language,
version=options.version,
meson_version='1.0.0',
executable=options.executable,