diff options
Diffstat (limited to 'meta-oe/recipes-test')
| -rw-r--r-- | meta-oe/recipes-test/googletest/googletest_git.bb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta-oe/recipes-test/googletest/googletest_git.bb b/meta-oe/recipes-test/googletest/googletest_git.bb index ff8191eff6..869c2c86b6 100644 --- a/meta-oe/recipes-test/googletest/googletest_git.bb +++ b/meta-oe/recipes-test/googletest/googletest_git.bb | |||
| @@ -9,7 +9,7 @@ PV = "1.11.0+git${SRCPV}" | |||
| 9 | PROVIDES += "gmock gtest" | 9 | PROVIDES += "gmock gtest" |
| 10 | 10 | ||
| 11 | S = "${WORKDIR}/git" | 11 | S = "${WORKDIR}/git" |
| 12 | SRCREV = "e2239ee6043f73722e7aa812a459f54a28552929" | 12 | SRCREV = "9e712372214d75bb30ec2847a44bf124d48096f3" |
| 13 | SRC_URI = "git://github.com/google/googletest.git;branch=main;protocol=https" | 13 | SRC_URI = "git://github.com/google/googletest.git;branch=main;protocol=https" |
| 14 | 14 | ||
| 15 | inherit cmake | 15 | inherit cmake |
| @@ -26,5 +26,5 @@ do_configure:prepend() { | |||
| 26 | # the scripts are already python3 compatible since https://github.com/google/googletest/commit/d404af0d987a9c38cafce82a7e26ec8468c88361 and other fixes like this | 26 | # the scripts are already python3 compatible since https://github.com/google/googletest/commit/d404af0d987a9c38cafce82a7e26ec8468c88361 and other fixes like this |
| 27 | # but since this oe-core change http://git.openembedded.org/openembedded-core/commit/?id=5f8f16b17f66966ae91aeabc23e97de5ecd17447 | 27 | # but since this oe-core change http://git.openembedded.org/openembedded-core/commit/?id=5f8f16b17f66966ae91aeabc23e97de5ecd17447 |
| 28 | # there isn't python in HOSTTOOLS so "env python" fails | 28 | # there isn't python in HOSTTOOLS so "env python" fails |
| 29 | sed -i 's@^#!/usr/bin/env python$@#!/usr/bin/env python3@g' ${S}/googlemock/scripts/*py ${S}/googlemock/scripts/generator/*py ${S}/googlemock/scripts/generator/cpp/*py ${S}/googlemock/test/*py ${S}/googletest/scripts/*py ${S}/googletest/test/*py | 29 | sed -i 's@^#!/usr/bin/env python$@#!/usr/bin/env python3@g' ${S}/googlemock/test/*py ${S}/googletest/test/*py |
| 30 | } | 30 | } |
