ZMK.LIBRARY.SO(5)

πŸ’– NAME πŸ’–

Library.So β€” bestie, it's the template for compiling C/C++/ObjC shared ELF libraries ✨ like it literally exists so you don't have to hand-roll that whole situation yourself.


🌸 SYNOPSIS 🌸

okay so this is the whole vibe, copy it exactly:

include z.mk

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

that's it. that's the ritual. πŸ•―οΈ


✨ DESCRIPTION ✨

ngl this manual page is a stub. it's giving "placeholder that never got finished" and honestly? relatable. 😭

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. like, poof, it does nothing. no shared library energy whatsoever. πŸ’€


πŸŽ€ TARGETS πŸŽ€

no targets listed here bestie, it's empty. literally nothing. a blank space. the void. πŸ¦‹


🧚 VARIABLES 🧚

also empty!! nothing to see, nothing to configure, moving on πŸ’…


🌈 HISTORY 🌈

empty too. the lore is lost to time, i fear. πŸ™ˆ


πŸ‘‘ AUTHORS πŸ‘‘

  • Zygmunt Krynicki <me@zygoon.pl> β€” the icon, the legend, the one who wrote all this πŸ’–

anyway that's the whole page, hope it ate 🫢 this was brought to you by zmk version 0.5.1, dated Feb 2, 2021, and filed under zmk.Library.So(5) β€” periodt. ⭐