mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-05 02:50:46 +00:00
rocksdb: Link with pthreads on riscv
Fixes librocksdb.so.6.6.4: undefined reference to `__atomic_compare_exchange_1' collect2: error: ld returned 1 exit status Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
@@ -39,3 +39,5 @@ do_install_append() {
|
||||
# fix for qa check buildpaths
|
||||
sed -i "s#${RECIPE_SYSROOT}##g" ${D}${libdir}/cmake/rocksdb/RocksDBTargets.cmake
|
||||
}
|
||||
|
||||
LDFLAGS_append_riscv64 = " -pthread"
|
||||
|
||||
Reference in New Issue
Block a user