diff options
author | Eli Schwartz <eschwartz93@gmail.com> | 2024-03-28 23:48:20 -0400 |
---|---|---|
committer | Eli Schwartz <eschwartz93@gmail.com> | 2024-04-15 17:54:27 -0400 |
commit | 1baabbc7f6729d2a94feb277054184233eae87d7 (patch) | |
tree | 76ae076d00635d164eda8d8fa265032a1ccfaec6 /test cases | |
parent | f9eef40982ba2715aa4ca1d925aca423646c48f3 (diff) | |
download | meson-1baabbc7f6729d2a94feb277054184233eae87d7.zip meson-1baabbc7f6729d2a94feb277054184233eae87d7.tar.gz meson-1baabbc7f6729d2a94feb277054184233eae87d7.tar.bz2 |
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.
Diffstat (limited to 'test cases')
-rw-r--r-- | test cases/rust/12 bindgen/meson.build | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test cases/rust/12 bindgen/meson.build b/test cases/rust/12 bindgen/meson.build index f31040e..09cb02a 100644 --- a/test cases/rust/12 bindgen/meson.build +++ b/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', |