Settings

Theme

Show HN: Static libvips builds, pick only the formats you need

github.com

1 points by u84u 7 days ago · 0 comments · 1 min read

Reader

hi HN, for a personal project of mine I needed libvips with several different formats, and it didn;t quite cover my needs. So i sat down for a weekend and setup a simple makefile that compiled all the dependencies of libvips statically and linked together for a single .a file per dependency. However that project never finished and the makefile just sat there. recently i recovered the old makefile and used claude to finally finish what i wanted. you pick the formats using FORMATS="jpeg png webp" and the deps are recursively built, statically. what cannot be built without more effort is installed via the package managers.

No comments yet.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection