Skip to contentSkip to conversation

ncurses: fixes for darwin nativesdk builds

PATCH New [email protected] 1 participant 1 message Apr 10, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ncurses: fixes for darwin nativesdk builds

From: Dominik Schnitzer <[email protected]>

---
 recipes-core/ncurses/ncurses_%.bbappend | 13 +++++++++++++
 1 file changed, 13 insertions(+)
 create mode 100644 recipes-core/ncurses/ncurses_%.bbappend
recipes-core/ncurses/ncurses_%.bbappend new file +13 -0
new file mode 100644
index 0000000..f64df53
@@ -0,0 +1,13 @@
+EX_TERMLIB:darwin21 = "yes"
+
+base_libdir:class-nativesdk:darwin21 = "${libdir}"
+
+do_install:append:class-nativesdk:darwin21() {
+    rm -f ${D}${libdir}/*.so
+}
+
+PACKAGES:prepend:darwin21 = "${PN}-lib "
+
+FILES:${PN}-lib:darwin21 = " \
+    ${libdir}/*${SOLIBS} \
+"
Signature · 1 line
2.43.0