Skip to content

Commit

Permalink
Rename option gi_cross_use_{host -> prebuilt}_gi
Browse files Browse the repository at this point in the history
The old name used "host" according to Yocto's definition, but not
Meson's. The new name works for everyone.
  • Loading branch information
Ericson2314 committed May 17, 2020
1 parent fc055e7 commit db136cb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion gir/meson.build
Expand Up @@ -41,7 +41,7 @@ gir_files = [
typelibdir = join_paths(get_option('libdir'), 'girepository-1.0')
install_data(gir_files, install_dir: girdir)

if get_option('gi_cross_use_host_gi')
if get_option('gi_cross_use_prebuilt_gi')
scanner_command = [
'g-ir-scanner',
]
Expand Down
4 changes: 2 additions & 2 deletions meson_options.txt
Expand Up @@ -26,8 +26,8 @@ option('gir_dir_prefix', type: 'string',
description: 'Intermediate prefix for gir installation under ${prefix}'
)

option('gi_cross_use_host_gi', type: 'boolean', value : false,
description: 'Use gobject introspection tools installed in the host system (useful when cross-compiling)'
option('gi_cross_use_prebuilt_gi', type: 'boolean', value : false,
description: 'Use gobject introspection tools installed in the build system (useful when cross-compiling)'
)

option('gi_cross_binary_wrapper', type: 'string',
Expand Down

0 comments on commit db136cb

Please sign in to comment.