diff options
Diffstat (limited to 'meta-oe/recipes-devtools/protobuf/protobuf_3.8.0.bb')
-rw-r--r-- | meta-oe/recipes-devtools/protobuf/protobuf_3.8.0.bb | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/meta-oe/recipes-devtools/protobuf/protobuf_3.8.0.bb b/meta-oe/recipes-devtools/protobuf/protobuf_3.8.0.bb index 476d1e309..be5caa4da 100644 --- a/meta-oe/recipes-devtools/protobuf/protobuf_3.8.0.bb +++ b/meta-oe/recipes-devtools/protobuf/protobuf_3.8.0.bb | |||
@@ -16,6 +16,8 @@ SRC_URI = "git://github.com/google/protobuf.git;branch=3.8.x \ | |||
16 | file://run-ptest \ | 16 | file://run-ptest \ |
17 | file://0001-protobuf-fix-configure-error.patch \ | 17 | file://0001-protobuf-fix-configure-error.patch \ |
18 | file://0001-Added-stubs-map_util.h-to-list-of-installed-headers.patch \ | 18 | file://0001-Added-stubs-map_util.h-to-list-of-installed-headers.patch \ |
19 | file://0001-Makefile.am-include-descriptor.cc-when-building-libp.patch \ | ||
20 | file://0001-examples-Makefile-respect-CXX-LDFLAGS-variables-fix-.patch \ | ||
19 | " | 21 | " |
20 | S = "${WORKDIR}/git" | 22 | S = "${WORKDIR}/git" |
21 | 23 | ||
@@ -30,9 +32,6 @@ TEST_SRC_DIR = "examples" | |||
30 | LANG_SUPPORT = "cpp ${@bb.utils.contains('PACKAGECONFIG', 'python', 'python', '', d)}" | 32 | LANG_SUPPORT = "cpp ${@bb.utils.contains('PACKAGECONFIG', 'python', 'python', '', d)}" |
31 | 33 | ||
32 | do_compile_ptest() { | 34 | do_compile_ptest() { |
33 | # Modify makefile to use the cross-compiler | ||
34 | sed -e "s|c++|${CXX} \$(LDFLAGS)|g" -i "${S}/${TEST_SRC_DIR}/Makefile" | ||
35 | |||
36 | mkdir -p "${B}/${TEST_SRC_DIR}" | 35 | mkdir -p "${B}/${TEST_SRC_DIR}" |
37 | 36 | ||
38 | # Add the location of the cross-compiled header and library files | 37 | # Add the location of the cross-compiled header and library files |