Skip to contentSkip to conversation

libtinyxml2: fix the homepage URL

PATCH New Fathi Boudra 1 participant 2 messages Feb 17, 2024

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 libtinyxml2: fix the homepage URL

---
 meta-oe/recipes-support/libtinyxml2/libtinyxml2_10.0.0.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-support/libtinyxml2/libtinyxml2_10.0.0.bb +1 -1
index cece68c632..5039e9ff77 100644
@@ -1,5 +1,5 @@
 SUMMARY = "TinyXML-2 is a simple, small, efficient, C++ XML parser that can be easily integrating into other programs"
-HOMEPAGE = "http://www.grinninglizard.com/tinyxml2/"
+HOMEPAGE = "https://leethomason.github.io/tinyxml2"
 SECTION = "libs"
 LICENSE = "Zlib"
 LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=135624eef03e1f1101b9ba9ac9b5fffd"
Signature · 1 line
2.43.0
#1 lore raw

PATCH 2/2 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.

---
 meta-oe/recipes-support/libtinyxml2/libtinyxml2_10.0.0.bb | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
meta-oe/recipes-support/libtinyxml2/libtinyxml2_10.0.0.bb +4 -1
index 5039e9ff77..1c94eff246 100644
@@ -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"
 
Signature · 1 line
2.43.0