path: root/meta-oe/recipes-dbs/rocksdb/rocksdb_git.bb
diff options
authorIvan Stepic <Ivan.Stepic@bmw.de>2022-11-17 17:21:19 +0530
committerArmin Kuster <akuster808@gmail.com>2022-11-25 10:35:23 -0500
commit1e9bf08cca883bbec7e6b9ffbe1fae9632dea412 (patch)
treede22a8d0af716bd2d06492fc344fbf31511ec5fb /meta-oe/recipes-dbs/rocksdb/rocksdb_git.bb
parent48b0721fac470a474dec94e6907ac3535a53032b (diff)
flatbuffers: adapt for cross-compilation environmentsdunfell-next
Flatbuffers contains a library and a schema compiler. The package contains cmake files to discover the libraries and the compiler tool. Currently, all of these cmake files are installed into the target sysroot. However, the compiler utility isn't installed into the sysroot (as it is not runnable on the build machine). When an application that depends on flatbuffers gets built, it uses flatbuffers' exported cmake targets to configure the project. One of the exported targets is FlatcTarget.cmake which expects to see flatc binary in /usr/bin of the sysroot. Since binaries for target don't end up in target sysroot, cmake configuration fails. This patch addresses this problem of flatbuffers' build infrastructure in cross-compiling environments. By removing FlatcTarget.cmake for target builds from the sysroot we essentially skip this step of flatbuffers' configuration. Signed-off-by: Ivan Stepic <Ivan.Stepic@bmw.de> Signed-off-by: Bhabu Bindu <bhabu.bindu@kpit.com>
Diffstat (limited to 'meta-oe/recipes-dbs/rocksdb/rocksdb_git.bb')
0 files changed, 0 insertions, 0 deletions