Closed kkettinger closed 1 month ago
Unnecessary, as setting the CPATH environment variable does the same thing.
CPATH
I've found this snippet to help a lot getting crates that use bindgen to compile correctly under bitbake/yocto.
BINDGEN_EXTRA_CLANG_ARGS = "--sysroot=${STAGING_DIR_TARGET}" export BINDGEN_EXTRA_CLANG_ARGS
Unnecessary, as setting the
CPATH
environment variable does the same thing.