aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXavier Claessens <xavier.claessens@collabora.com>2021-09-29 17:06:09 -0400
committerXavier Claessens <xclaesse@gmail.com>2021-09-29 19:01:44 -0400
commite836076e24ca352caf8f985c5443a71f7dea072e (patch)
treefb79bd2b9cc423afe46b4d41cf74a48477d5b7d5
parentfbc2e9b0efdd751d6525f5ecfbcafd554ee58ba8 (diff)
downloadmeson-e836076e24ca352caf8f985c5443a71f7dea072e.zip
meson-e836076e24ca352caf8f985c5443a71f7dea072e.tar.gz
meson-e836076e24ca352caf8f985c5443a71f7dea072e.tar.bz2
external-project: variables must be dict not list
Fixes: #9316
-rw-r--r--mesonbuild/modules/unstable_external_project.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/modules/unstable_external_project.py b/mesonbuild/modules/unstable_external_project.py
index 87b0ab6..b8e9850 100644
--- a/mesonbuild/modules/unstable_external_project.py
+++ b/mesonbuild/modules/unstable_external_project.py
@@ -240,7 +240,7 @@ class ExternalProject(NewExtensionModule):
libs_whole = []
sources = self.target
final_deps = []
- variables = []
+ variables = {}
dep = InternalDependency(version, incdir, compile_args, link_args, libs,
libs_whole, sources, final_deps, variables)
return dep