diff mbox series

[meta-darwin,1/5] file: disable lzlib

Message ID 20261116202223.654-1-ecordonnier@snap.com
State New
Headers show
Series [meta-darwin,1/5] file: disable lzlib | expand

Commit Message

Etienne Cordonnier Nov. 16, 2026, 8:22 p.m. UTC
From: Etienne Cordonnier <ecordonnier@snap.com>

Signed-off-by: Etienne Cordonnier <ecordonnier@snap.com>
---
 recipes-devtools/file/file_%.bbappend | 5 +++++
 1 file changed, 5 insertions(+)
 create mode 100644 recipes-devtools/file/file_%.bbappend
diff mbox series

Patch

diff --git a/recipes-devtools/file/file_%.bbappend b/recipes-devtools/file/file_%.bbappend
new file mode 100644
index 0000000..7324ecd
--- /dev/null
+++ b/recipes-devtools/file/file_%.bbappend
@@ -0,0 +1,5 @@ 
+# lzlib does not support Darwin: its build system hardcodes ELF shared library
+# naming (liblz.so.N), which doesn't match SOLIBS=".dylib" and makes
+# nativesdk-lzlib fail do_package with [installed-vs-shipped]. Disable the
+# optional lzlib support (lzip decompression for "file -z") on darwin21.
+PACKAGECONFIG:remove:darwin21 = "lzlib"