tests: fix missing dependency causing flaky build failure

We have two copies of other.h, one of which is generated. If we don't
include the include/ directory then building fails unless the
custom_target which copies it over, happens to run early enough. On
parallel builds this may fall on its face.
pull/13017/head
Eli Schwartz 8 months ago
parent f9eef40982
commit 1baabbc7f6
No known key found for this signature in database
GPG Key ID: CEB167EFB5722BD6
  1. 4
      test cases/rust/12 bindgen/meson.build

@ -105,9 +105,9 @@ if prog_bindgen.version().version_compare('>= 0.65')
input : 'src/header3.h',
output : 'header3.rs',
output_inline_wrapper : 'header3.c',
include_directories : 'include',
include_directories : inc,
)
c_inline_wrapper = static_library('c_wrapper', gen3[1])
c_inline_wrapper = static_library('c_wrapper', gen3[1], include_directories: inc)
f = configure_file(
input : 'src/main3.rs',

Loading…
Cancel
Save