... no? or maybe libexec/
actual vs expected
- /bin/linux-x86_64/v8-mksnapshot-linux-x86_64
+ /bin/v8-mksnapshot-linux-x86_64
downstream meson in frida-core says
Program v8-mksnapshot-linux-x86_64 found: NO
workaround:
export PATH=/path/to/frida-v8/bin/linux-x86_64:$PATH
a need for bin_subdir should be documented in a comment
|
if meson.can_run_host_binaries() |
|
bin_subdir = f'@host_os_frida@-@host_arch_frida@' |
|
else |
|
bin_subdir = f'@build_os_frida@-@build_arch_frida@' |
|
endif |
|
|
|
custom_target('mksnapshot-installed', |
|
input: mksnapshot, |
|
output: f'v8-mksnapshot-@host_os_frida@-@host_arch_frida@@bin_extension@', |
|
command: [ |
|
post_process_executable, |
|
'--input-file', '@INPUT@', |
|
'--output-file', '@OUTPUT@', |
|
'--strip-option', get_option('strip').to_string(), |
|
'--', |
|
strip, |
|
], |
|
install: true, |
|
install_dir: get_option('bindir') / bin_subdir, |
... no? or maybe libexec/
actual vs expected
downstream meson in frida-core says
workaround:
a need for
bin_subdirshould be documented in a commentv8/src/snapshot/meson.build
Lines 21 to 39 in bda4a1a