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"
