mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-11-14 16:07:25 +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:
1 parent
5fdbe36887
commit
528f273006
1 file changed
+4
-1
@@ -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