mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-08-12 10:30:04 +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:
parent
5fdbe36887
commit
528f273006
@ -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"
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user