-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Closed
Labels
Description
g_ir_compiler = find_program('g-ir-compiler')
custom_target('foo typelib', command: [g_ir_compiler, '--output', '@OUTPUT@', '@INPUT@'],
input: join_paths(meson.current_build_dir(), 'Foo-1.0.gir'),
output: 'Foo-1.0.typelib',
depends: foo_lib,
install: true,
install_dir: join_paths(get_option('libdir'), 'girepository-1.0'))
This example, located at Vala Reference, doesn't work and produces the following error message:
ninja: Entering directory `_build/'
ninja: error: '../meson/_build/Foo-1.0.gir', needed by 'Foo-1.0.typelib', missing and no known rule to make it
The same example it's used in the vala gir example, althougth it's slightly modified and that makes it to work. This error doesn't happen when install and install_diroptions are not present.
v1993