ZMK.LIBRARY.DYLIB(5)

🌸 NAME 🌸

Library.So β€” bestie, it's the template for compiling C/C++/ObjC shared Mach-O libraries ✨

Like, you're on zmk.Library.DyLib(5) right now, section 5, and this page is the whole vibe for that template. 🫢


✨ SYNOPSIS ✨

include z.mk

# libName is any valid identifier.
libName.dylib.Sources = hello.c
$(eval $(call ZMK.Expand,Library.DyLib,libName.dylib))

okay so libName is literally any valid identifier, no cap πŸ’… and you just hand it over to ZMK.Expand with Library.DyLib and you're done.


πŸŽ€ DESCRIPTION πŸŽ€

Not me telling you that this manual page is a stub 😭 it literally is one, that's the whole description.

But here's the tea that actually matters: when the configure script gets invoked with --disable-shared, this template behaves as if it was empty. Periodt. Like it just isn't there. πŸ‘‘


πŸ’€ TARGETS πŸ’€

nothing here bestie, it's giving silence πŸ¦‹


πŸ™ˆ VARIABLES πŸ™ˆ

also empty. iconic of it honestly ✨


🌈 HISTORY 🌈

no history on this one, it's a mystery πŸ‘‘


πŸ’œ AUTHORS πŸ’œ

  • Zygmunt Krynicki <me@zygoon.pl> 🫢

lowkey a whole legend for writing this one down πŸ’–

that's the page bestie!! πŸ’… this was zmk 0.5.1, dated Feb 2, 2021, and it lives at zmk.Library.DyLib(5) β€” slay, go forth and build your dylibs 🧚✨🌸