From 02ad00b9826a037d87477af46dde07bfa26d0089 Mon Sep 17 00:00:00 2001 From: Guillaume Poirier-Morency Date: Fri, 15 Sep 2017 10:24:59 -0400 Subject: ninja: Fix the dependency on the VAPI when 'vala_vapi' is used --- test cases/vala/12 custom output/bar.vala | 0 test cases/vala/12 custom output/meson.build | 10 +++++++--- 2 files changed, 7 insertions(+), 3 deletions(-) create mode 100644 test cases/vala/12 custom output/bar.vala (limited to 'test cases') diff --git a/test cases/vala/12 custom output/bar.vala b/test cases/vala/12 custom output/bar.vala new file mode 100644 index 0000000..e69de29 diff --git a/test cases/vala/12 custom output/meson.build b/test cases/vala/12 custom output/meson.build index ef6dbb5..c328959 100644 --- a/test cases/vala/12 custom output/meson.build +++ b/test cases/vala/12 custom output/meson.build @@ -3,7 +3,11 @@ project('valatest', 'c', 'vala') glib = dependency('glib-2.0') gobject = dependency('gobject-2.0') -library('foo-1.0', 'foo.vala', - vala_header: 'foo.h', - vala_vapi: 'foo.vapi', +foo_lib = library('foo-1.0', 'foo.vala', + vala_header: 'foo.h', + vala_vapi: 'foo.vapi', + dependencies: [glib, gobject]) + +library('bar', 'bar.vala', + link_with: [foo_lib], dependencies: [glib, gobject]) -- cgit v1.1