mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-04 14:39:54 +00:00
libtinyxml2: allow to build both shared and static libraries
E.g. if we want to build uuu statically, libtinyxml2 static library is missing as it builds only the shared library by default. Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
@@ -12,7 +12,10 @@ S = "${WORKDIR}/git"
|
||||
|
||||
inherit meson ptest
|
||||
|
||||
EXTRA_OEMESON += "${@bb.utils.contains('PTEST_ENABLED', '1', '-Dtests=true', '', d)}"
|
||||
EXTRA_OEMESON += " \
|
||||
${@bb.utils.contains('PTEST_ENABLED', '1', '-Dtests=true', '', d)} \
|
||||
-Ddefault_library=both \
|
||||
"
|
||||
|
||||
CXXFLAGS:append:libc-musl = " -D_LARGEFILE64_SOURCE"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user