Skip to content

Instantly share code, notes, and snippets.

View mischief's full-sized avatar
🐡
hack the planet

Nick Owens mischief

🐡
hack the planet
View GitHub Profile
@mischief
mischief / notes.md
Created February 13, 2026 07:17
notes for lua on openbsd

cqueues does not really like libressl, so

env ALL_LDFLAGS="$(pkg-config --libs eopenssl36) -Wl,-rpath=/usr/local/lib/eopenssl36" \
   luarocks install --local --force cqueues OPENSSL_INCDIR=/usr/local/include/eopenssl36/

to force openssl from packages. cqueues goofy makefile doesn't look at LDFLAGS.

for added fun, http rock

env ALL_LDFLAGS="$(pkg-config --libs eopenssl36) -Wl,-rpath=/usr/local/lib/eopenssl36" \