diff options
-rw-r--r-- | interpreter.py | 1 | ||||
-rw-r--r-- | test cases/common/80 shared subproject 2/meson.build | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/interpreter.py b/interpreter.py index d140c19..75df340 100644 --- a/interpreter.py +++ b/interpreter.py @@ -1032,6 +1032,7 @@ class Interpreter(): self.global_args_frozen = True mlog.log('\nExecuting subproject ', mlog.bold(dirname), '.\n', sep='') subi = Interpreter(self.build, dirname, subdir) + subi.subprojects = self.subprojects subi.subproject_stack = self.subproject_stack + [dirname] subi.run() diff --git a/test cases/common/80 shared subproject 2/meson.build b/test cases/common/80 shared subproject 2/meson.build index a0ce0f4..0647325 100644 --- a/test cases/common/80 shared subproject 2/meson.build +++ b/test cases/common/80 shared subproject 2/meson.build @@ -1,5 +1,8 @@ project('A', 'c') +# Same as the previous test but use C and B in +# the opposite order. + C = subproject('C') c = C.get_variable('c') |