mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-09-16 21:04:33 +00:00
googletest: allow for shared libraries
Change the -dev RDEPENDS because -staticdev is not created if shared libraries are built. Signed-off-by: Joe Slater <joe.slater@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
parent
9dcc859807
commit
a30f1158d9
@ -21,8 +21,10 @@ CXXFLAGS:append = " -fPIC"
|
|||||||
ALLOW_EMPTY:${PN} = "1"
|
ALLOW_EMPTY:${PN} = "1"
|
||||||
ALLOW_EMPTY:${PN}-dbg = "1"
|
ALLOW_EMPTY:${PN}-dbg = "1"
|
||||||
|
|
||||||
ALLOW_EMPTY:${PN}-staticdev = "1"
|
# -staticdev will not be implicitly put into an SDK, so we add an rdepend
|
||||||
RDEPENDS:${PN}-dev += "${PN}-staticdev"
|
# if we are not building shared libraries
|
||||||
|
#
|
||||||
|
RDEPENDS:${PN}-dev += "${@bb.utils.contains("PACKAGECONFIG","shared","","${PN}-staticdev",d)}"
|
||||||
|
|
||||||
BBCLASSEXTEND = "native nativesdk"
|
BBCLASSEXTEND = "native nativesdk"
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user