summaryrefslogtreecommitdiff
path: root/test cases
diff options
context:
space:
mode:
authorXavier Claessens <xavier.claessens@collabora.com>2022-06-16 11:29:41 -0400
committerEli Schwartz <eschwartz93@gmail.com>2022-06-17 18:56:13 -0400
commit807cbcb350d2a0255cc71f753cce980a081289fb (patch)
tree2519339be7d828801b8dc51f428ec3215f6ea7ad /test cases
parent47426f3663f795ae9af59075297bf8215ae81f40 (diff)
downloadmeson-807cbcb350d2a0255cc71f753cce980a081289fb.tar.gz
external-project: Add depends kwarg
The unit test was racy but surprisingly never failed on CI. The reason is we need to ensure ninja build somelib.so before running `make` into the external project.
Diffstat (limited to 'test cases')
-rw-r--r--test cases/common/230 external project/libfoo/meson.build1
1 files changed, 1 insertions, 0 deletions
diff --git a/test cases/common/230 external project/libfoo/meson.build b/test cases/common/230 external project/libfoo/meson.build
index 941e13f94..a09341b47 100644
--- a/test cases/common/230 external project/libfoo/meson.build
+++ b/test cases/common/230 external project/libfoo/meson.build
@@ -16,6 +16,7 @@ p = mod.add_project('configure',
'--includedir=@PREFIX@/@INCLUDEDIR@',
'--libext=' + libext,
],
+ depends: somelib,
)
libfoo_dep = declare_dependency(link_with : somelib,