mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-04 14:39:54 +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:
@@ -21,8 +21,10 @@ CXXFLAGS:append = " -fPIC"
|
||||
ALLOW_EMPTY:${PN} = "1"
|
||||
ALLOW_EMPTY:${PN}-dbg = "1"
|
||||
|
||||
ALLOW_EMPTY:${PN}-staticdev = "1"
|
||||
RDEPENDS:${PN}-dev += "${PN}-staticdev"
|
||||
# -staticdev will not be implicitly put into an SDK, so we add an rdepend
|
||||
# if we are not building shared libraries
|
||||
#
|
||||
RDEPENDS:${PN}-dev += "${@bb.utils.contains("PACKAGECONFIG","shared","","${PN}-staticdev",d)}"
|
||||
|
||||
BBCLASSEXTEND = "native nativesdk"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user