Surrogate libtool implementation, written in C
