Skip to content

Commit

Permalink
meson: Avoid hard-coding datadir in vapidir paths
Browse files Browse the repository at this point in the history
  • Loading branch information
oleavr committed May 30, 2024
1 parent 6f49efe commit ea5338c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion gum/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,7 @@ uninstalled_variables = {
}

installed_variables = {
'frida_vapidir': get_option('prefix') / 'share' / 'vala' / 'vapi',
'frida_vapidir': get_option('prefix') / get_option('datadir') / 'vala' / 'vapi',
'frida_dbghelp_prefix': dbghelp_prefix,
'frida_symsrv_prefix': symsrv_prefix,
}
Expand Down
2 changes: 1 addition & 1 deletion vapi/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ if have_gumjs
]
endif

install_data(vapis, install_dir: get_option('prefix') / 'share' / 'vala' / 'vapi')
install_data(vapis, install_dir: get_option('prefix') / get_option('datadir') / 'vala' / 'vapi')

0 comments on commit ea5338c

Please sign in to comment.