Skip to content

Commit

Permalink
Make subproject yield options
Browse files Browse the repository at this point in the history
  • Loading branch information
satk0 committed Jan 28, 2025
1 parent fa58b43 commit c79327c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions shlr/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,7 @@ else
'fix-x86-16.patch',
]
elif capstone_version == 'v5'
opts = 'plugins='+get_option('plugins')
cs = subproject('capstone-v5', default_options: [opts])
cs = subproject('capstone-v5')
patches_files = [
'fix-x86-16.patch'
]
Expand Down
2 changes: 1 addition & 1 deletion subprojects/packagefiles/capstone-v5/meson_options.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
option('plugins', type: 'string', value: '', description: 'Comma separated list of plugin names')
option('plugins', type: 'string', value: '', description: 'Comma separated list of plugin names', yield: true)

0 comments on commit c79327c

Please sign in to comment.