new file mode 100644
@@ -0,0 +1,8 @@
+# mkheader looks for src/syscfg/lock-obj-pub.<host triplet>.h, but upstream only
+# ships <cpu>-apple-darwin names, which never match <cpu>-<vendor>-darwin21.
+# The header describes Apple's pthread_mutex_t, identical across Darwin versions
+# for a given CPU, so install the upstream one under the name mkheader expects.
+do_configure:prepend:darwin21 () {
+ cp ${S}/src/syscfg/lock-obj-pub.${HOST_ARCH}-apple-darwin.h \
+ ${S}/src/syscfg/lock-obj-pub.${HOST_SYS}.h
+}