diff options
| -rw-r--r-- | meta-oe/recipes-support/libtinyxml2/libtinyxml2_11.0.0.bb | 11 |
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" | |||
| 9 | SRC_URI = "git://github.com/leethomason/tinyxml2.git;branch=master;protocol=https \ | 9 | SRC_URI = "git://github.com/leethomason/tinyxml2.git;branch=master;protocol=https \ |
| 10 | file://run-ptest" | 10 | file://run-ptest" |
| 11 | 11 | ||
| 12 | inherit cmake ptest | ||
| 12 | 13 | ||
| 13 | inherit meson ptest | 14 | EXTRA_OECMAKE += "${@bb.utils.contains('PTEST_ENABLED', '1', '-Dtinyxml2_BUILD_TESTING=ON', '', d)}" |
| 14 | |||
| 15 | EXTRA_OEMESON += " \ | ||
| 16 | ${@bb.utils.contains('PTEST_ENABLED', '1', '-Dtests=true', '', d)} \ | ||
| 17 | -Ddefault_library=both \ | ||
| 18 | " | ||
| 19 | 15 | ||
| 16 | PACKAGECONFIG ?= "shared-libs" | ||
| 17 | PACKAGECONFIG[shared-libs] = "-DBUILD_SHARED_LIBS=ON,-DBUILD_SHARED_LIBS=OFF" | ||
| 18 | |||
| 20 | CXXFLAGS:append:libc-musl = " -D_LARGEFILE64_SOURCE" | 19 | CXXFLAGS:append:libc-musl = " -D_LARGEFILE64_SOURCE" |
| 21 | 20 | ||
| 22 | do_install_ptest() { | 21 | do_install_ptest() { |
