frida / frida-rust

Frida Rust bindings
Other
188 stars 53 forks source link

mechanism to use custom devkit sys build scripts #170

Closed ajwerner closed 1 month ago

ajwerner commented 1 month ago

If the auto-download feature is not enabled, but the user would like to run with a custom-compiled frida or frida-gum devkit, there's not really any way to do it. In order to address this, one approach would be to allow for an environment variable to override the behavior that currently searches the CARGO_MANIFEST_DIR for the header and static library.

ajwerner commented 1 month ago

I've learned that this can be achieved with a combination of LIBRARY_PATH and BINDGEN_EXTRA_CLANG_ARGS.