diff options
| -rw-r--r-- | meta-oe/recipes-devtools/grpc/grpc_1.35.0.bb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/meta-oe/recipes-devtools/grpc/grpc_1.35.0.bb b/meta-oe/recipes-devtools/grpc/grpc_1.35.0.bb index 5097b2b1b8..363e2b4680 100644 --- a/meta-oe/recipes-devtools/grpc/grpc_1.35.0.bb +++ b/meta-oe/recipes-devtools/grpc/grpc_1.35.0.bb | |||
| @@ -35,6 +35,11 @@ EXTRA_OECMAKE = " \ | |||
| 35 | -DgRPC_INSTALL_CMAKEDIR=${baselib}/cmake/${BPN} \ | 35 | -DgRPC_INSTALL_CMAKEDIR=${baselib}/cmake/${BPN} \ |
| 36 | " | 36 | " |
| 37 | 37 | ||
| 38 | do_configure_prepend() { | ||
| 39 | sed -i -e "s#lib/pkgconfig/#${baselib}/pkgconfig/#g" ${S}/CMakeLists.txt | ||
| 40 | } | ||
| 41 | |||
| 42 | |||
| 38 | do_configure_prepend_mipsarch() { | 43 | do_configure_prepend_mipsarch() { |
| 39 | sed -i -e "s/set(_gRPC_ALLTARGETS_LIBRARIES \${CMAKE_DL_LIBS} rt m pthread)/set(_gRPC_ALLTARGETS_LIBRARIES \${CMAKE_DL_LIBS} atomic rt m pthread)/g" ${S}/CMakeLists.txt | 44 | sed -i -e "s/set(_gRPC_ALLTARGETS_LIBRARIES \${CMAKE_DL_LIBS} rt m pthread)/set(_gRPC_ALLTARGETS_LIBRARIES \${CMAKE_DL_LIBS} atomic rt m pthread)/g" ${S}/CMakeLists.txt |
| 40 | } | 45 | } |
