Repository

libstatic/libvips

libstatic/libvips

Build libvips along with all its dependencies, from source to build statically. Single binary to deploy to lightweight containers.

2stars

Open github.com

libstatic/libvips

libstatic/libvips

Build libvips and its dependencies from source to create static libraries with customizable format selection.

Visit project

Show me a random project

First shared
Jul 23, 2026
HN activity
10

Show HN@u84uJul 23, 2026

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

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.

Community

Hacker News discussion

Loading the thread…