summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/glog/glog_0.3.5.bb
diff options
context:
space:
mode:
authorVyacheslav Yurkov <Vyacheslav.Yurkov@bruker.com>2018-11-05 08:18:47 +0100
committerArmin Kuster <akuster808@gmail.com>2018-11-15 13:18:50 -0800
commit11618247e8f871233f4924241c48ebab2aca3fd1 (patch)
tree22ebfdabdea2a0089f25ca9bdd58b5e914d112c1 /meta-oe/recipes-support/glog/glog_0.3.5.bb
parent36977b35b17d7c50e84854e9bdd72c91b208fd9d (diff)
downloadmeta-openembedded-11618247e8f871233f4924241c48ebab2aca3fd1.tar.gz
glog: updated libunwind look up function
Updated FindLinunwind cmake file to locate libunwind properly in the system. This includes settings all needed defines in config.h file, which are used for glog compilation. Changed unwind cmake target to interface, because in cross-compilation environment we could link against several libunwind shared libraries. Signed-off-by: Vyacheslav Yurkov <Vyacheslav.Yurkov@bruker.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
Diffstat (limited to 'meta-oe/recipes-support/glog/glog_0.3.5.bb')
-rw-r--r--meta-oe/recipes-support/glog/glog_0.3.5.bb6
1 files changed, 2 insertions, 4 deletions
diff --git a/meta-oe/recipes-support/glog/glog_0.3.5.bb b/meta-oe/recipes-support/glog/glog_0.3.5.bb
index 4c1bce74e..5e58450c2 100644
--- a/meta-oe/recipes-support/glog/glog_0.3.5.bb
+++ b/meta-oe/recipes-support/glog/glog_0.3.5.bb
@@ -10,8 +10,8 @@ DEPENDS = "libunwind"
10 10
11SRC_URI = " \ 11SRC_URI = " \
12 git://github.com/google/glog.git;branch=v035 \ 12 git://github.com/google/glog.git;branch=v035 \
13 file://0001-find-libunwind-during-configure.patch \
14 file://0001-Rework-CMake-glog-VERSION-management.patch \ 13 file://0001-Rework-CMake-glog-VERSION-management.patch \
14 file://0002-Find-Libunwind-during-configure.patch \
15" 15"
16 16
17SRCREV = "a6a166db069520dbbd653c97c2e5b12e08a8bb26" 17SRCREV = "a6a166db069520dbbd653c97c2e5b12e08a8bb26"
@@ -20,8 +20,6 @@ S = "${WORKDIR}/git"
20 20
21inherit cmake 21inherit cmake
22 22
23RDEPENDS_${PN}-dev = "" 23RDEPENDS_${PN} += "libunwind"
24RRECOMMENDS_${PN}-dev = "${PN}-staticdev"
25RRECOMMENDS_${PN}-dbg = "${PN}-dev (= ${EXTENDPKGV})"
26 24
27EXTRA_OECMAKE += "-DBUILD_SHARED_LIBS=ON" 25EXTRA_OECMAKE += "-DBUILD_SHARED_LIBS=ON"