summaryrefslogtreecommitdiffstats
path: root/meta-rcar-gen3-adas/recipes-support/glog/glog_0.3.3.bbappend
diff options
context:
space:
mode:
authorPetr Nechaev <petr.nechaev@cogentembedded.com>2017-11-22 17:30:36 +0300
committerPetr Nechaev <petr.nechaev@cogentembedded.com>2017-11-22 17:30:36 +0300
commitcfc23e64c7675214f15461a4e533d8ecc2e948f8 (patch)
tree7fae870243c02345344f9ea04a3d10dfaa260d3b /meta-rcar-gen3-adas/recipes-support/glog/glog_0.3.3.bbappend
parent0b492a5d73c64bbcea5f013c7499bb6551b4a834 (diff)
Fix glog compilation when gflags or gmock are installed on the host machine
Binaries gflags-config and gmock-config are not generated during cross-compilation so use pkg-config instead.
Diffstat (limited to 'meta-rcar-gen3-adas/recipes-support/glog/glog_0.3.3.bbappend')
-rw-r--r--meta-rcar-gen3-adas/recipes-support/glog/glog_0.3.3.bbappend5
1 files changed, 5 insertions, 0 deletions
diff --git a/meta-rcar-gen3-adas/recipes-support/glog/glog_0.3.3.bbappend b/meta-rcar-gen3-adas/recipes-support/glog/glog_0.3.3.bbappend
new file mode 100644
index 0000000..d882ba3
--- /dev/null
+++ b/meta-rcar-gen3-adas/recipes-support/glog/glog_0.3.3.bbappend
@@ -0,0 +1,5 @@
+FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}-${PV}:"
+
+SRC_URI_append = " file://0001-Use-pkg-config-for-locating-gflags-and-gmock.patch"
+
+DEPENDS += "gflags gmock"