diff options
-rw-r--r-- | recipes-containers/criu/protobuf_2.5.0.bb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/recipes-containers/criu/protobuf_2.5.0.bb b/recipes-containers/criu/protobuf_2.5.0.bb index a85fd87a..fc84cb72 100644 --- a/recipes-containers/criu/protobuf_2.5.0.bb +++ b/recipes-containers/criu/protobuf_2.5.0.bb | |||
@@ -39,6 +39,7 @@ do_compile_ptest() { | |||
39 | # Add the location of the cross-compiled header and library files | 39 | # Add the location of the cross-compiled header and library files |
40 | # which haven't been installed yet. | 40 | # which haven't been installed yet. |
41 | cp "${B}/protobuf.pc" "${B}/${TEST_SRC_DIR}/protobuf.pc" | 41 | cp "${B}/protobuf.pc" "${B}/${TEST_SRC_DIR}/protobuf.pc" |
42 | sed -e 's|libdir=|libdir=${PKG_CONFIG_SYSROOT_DIR}|' -i "${S}/${TEST_SRC_DIR}/protobuf.pc" | ||
42 | sed -e 's|Cflags:|Cflags: -I${S}/src|' -i "${B}/${TEST_SRC_DIR}/protobuf.pc" | 43 | sed -e 's|Cflags:|Cflags: -I${S}/src|' -i "${B}/${TEST_SRC_DIR}/protobuf.pc" |
43 | sed -e 's|Libs:|Libs: -L${B}/src/.libs|' -i "${B}/${TEST_SRC_DIR}/protobuf.pc" | 44 | sed -e 's|Libs:|Libs: -L${B}/src/.libs|' -i "${B}/${TEST_SRC_DIR}/protobuf.pc" |
44 | export PKG_CONFIG_PATH="${B}/${TEST_SRC_DIR}" | 45 | export PKG_CONFIG_PATH="${B}/${TEST_SRC_DIR}" |