summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta-oe/recipes-support/libtinyxml2/libtinyxml2_11.0.0.bb11
1 files changed, 5 insertions, 6 deletions
diff --git a/meta-oe/recipes-support/libtinyxml2/libtinyxml2_11.0.0.bb b/meta-oe/recipes-support/libtinyxml2/libtinyxml2_11.0.0.bb
index 89e6eca99b..d295b99f3d 100644
--- a/meta-oe/recipes-support/libtinyxml2/libtinyxml2_11.0.0.bb
+++ b/meta-oe/recipes-support/libtinyxml2/libtinyxml2_11.0.0.bb
@@ -9,14 +9,13 @@ SRCREV = "9148bdf719e997d1f474be6bcc7943881046dba1"
9SRC_URI = "git://github.com/leethomason/tinyxml2.git;branch=master;protocol=https \ 9SRC_URI = "git://github.com/leethomason/tinyxml2.git;branch=master;protocol=https \
10 file://run-ptest" 10 file://run-ptest"
11 11
12inherit cmake ptest
12 13
13inherit meson ptest 14EXTRA_OECMAKE += "${@bb.utils.contains('PTEST_ENABLED', '1', '-Dtinyxml2_BUILD_TESTING=ON', '', d)}"
14
15EXTRA_OEMESON += " \
16 ${@bb.utils.contains('PTEST_ENABLED', '1', '-Dtests=true', '', d)} \
17 -Ddefault_library=both \
18"
19 15
16PACKAGECONFIG ?= "shared-libs"
17PACKAGECONFIG[shared-libs] = "-DBUILD_SHARED_LIBS=ON,-DBUILD_SHARED_LIBS=OFF"
18
20CXXFLAGS:append:libc-musl = " -D_LARGEFILE64_SOURCE" 19CXXFLAGS:append:libc-musl = " -D_LARGEFILE64_SOURCE"
21 20
22do_install_ptest() { 21do_install_ptest() {